This is the mail archive of the java-patches@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]

Re: [PATCH] Speedup gij/libjava loading on darwin


>>>>> "Mark" == Mark Wielaard <mark@klomp.org> writes:

>> This is pretty lame, really.  We really should fix it for 4.1.

Mark> How does this hack work? I found the jvmpi support in kaffe using JMP
Mark> pretty nice. See: http://www.khelekore.org/jmp/ and
Mark> http://gnu.wildebeest.org/diary/index.php?p=104
Mark> Would be cool if we can get something similar with gcj working.

Anthony would have to say more, but essentially it is LD_PRELOADing a
library that uses the jvmpi hooks in libgcj to do some things.
Note that we only implement a very minimal subset of jvmpi.  Nobody
ever tried to really flesh it out.

As an aside -- we do have a jvmpi.h.  This could migrate into
Classpath for sharing amongst VMs.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]