This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
* P. O. Gaillard:
I am using the gcj 4.1 that came with Fedora Core 5 and the NIO buffers are quite slow. From what I see with Oprofile, I would say that this is because the code is not inlined.
Most of the java.nio buffer methods are non-final,
so inlining can only happen after devirtualization. This is hard to do at compile time.
Are you sure the problem is lack of inlining? There used to be problems with inefficient implementations of the array-based get/put methods. Maybe you could post an excerpt of the profiles, so that we can see what's going on.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |