RFC: IcedTea7 JamVM selfhost patch - remove-sun.misc.Perf-debug-code

Jiri Vanek jvanek at redhat.com
Thu Jun 30 09:07:13 PDT 2011


On 06/30/2011 04:37 PM, Xerxes Rånby wrote:
> Hi team,
>
> The attached patch makes it possible for IcedTea 7 JamVM builds to be
> selfhosting.
>
> 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.
>
>
> Ok to push?
>
> 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.
>
> Cheers
> Xerxes

I'm just curious weather those "debug" lines  will stay in code after final release..

Any clue about it?

regards J.



More information about the distro-pkg-dev mailing list