RFC: IcedTea7 JamVM selfhost patch - remove-sun.misc.Perf-debug-code
Andrew John Hughes
ahughes at redhat.com
Mon Jul 4 18:07:06 PDT 2011
On Thu, Jun 30, 2011 at 04:37:25PM +0200, 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
No. If this is needed for JamVM, it should be a JamVM-specific patch,
not applied generally.
--
Andrew :)
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
Support Free Java!
Contribute to GNU Classpath and IcedTea
http://www.gnu.org/software/classpath
http://icedtea.classpath.org
PGP Key: F5862A37 (https://keys.indymedia.org/)
Fingerprint = EA30 D855 D50F 90CD F54D 0698 0713 C3ED F586 2A37
More information about the distro-pkg-dev
mailing list