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] | |
Yeah. Unfortunately I don't see a way to make JNI interface calls efficient without having the pointer, but perhaps such calls are rare enough that we can ignore them (the small number of complaints about this bug suggests this might be true). But, note that there are some other cases where it would make things easier if we had this pointer.So when we get to the call that hangs, we see that the method index is "1". But this points to some other method in the vtable -- since in this case the index is really an interface table index, not a vtable index.
I agree that this fix is just a band-aid for 4.0.
Retro-fitting the declaring class into the jmethodID is somewhat ugly,
since it means more memory use (another pointer per method) just for
this one obscure case.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |