RFC: IcedTea7 JamVM selfhost patch - alternative - implement sun.misc.Perf JNI in JamVM

Xerxes Rånby xerxes at zafena.se
Thu Jun 30 08:01:50 PDT 2011

tor 2011-06-30 klockan 16:37 +0200 skrev Xerxes Rånby:
> Hi team,
> Some OpenJDK 7 classes makes internal use of the unofficial
> sun.misc.Perf API to keep track of startup time. sun.misc.Perf itself
> implements its functionality by using some special jni calls inside of
> Hotspot.
> By reducing the internal use of sun.misc.Perf in the OpenJDK 7 classes
> makes it possible to use the OpenJDK 7 classes with non-Hotspot JVMs.

> The alternative are to implement this unofficial sun.misc.Perf JNI API
> in JamVM and in every other JVM that wants to use the OpenJDK classes.

The attached patch are my first take to try implement the "alternative".
It contains all stubs that needed to be implemented to support the
OpenJDK 7 sun.misc.Perf JNI API in JamVM.

Cheers and have a great day.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jamvm-sun.misc.Perf-JNI-stubs.patch
Type: text/x-patch
Size: 3384 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20110630/b40e2912/jamvm-sun.misc.Perf-JNI-stubs.patch 

More information about the distro-pkg-dev mailing list