RFC: IcedTea7 JamVM selfhost patch - remove-sun.misc.Perf-debug-code
Xerxes Rånby
xerxes at zafena.se
Tue Jul 5 06:45:22 PDT 2011
tis 2011-07-05 klockan 02:07 +0100 skrev Andrew John Hughes:
> 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.
>
> No. If this is needed for JamVM, it should be a JamVM-specific patch,
> not applied generally.
OK, I have attached a new JamVM-specific patch that only get applied
when performing a JamVM build.
ChangeLog entry would be:
2011-07-05 Xerxes Rånby <xerxes at zafena.se>
JamVM: Is self-hosting.
* patches/jamvm/remove-sun.misc.Perf-debug-code.patch: New
patch.
* Makefile.am:
(ICEDTEA_PATCHES): Apply new patch when building JamVM.
* HACKING: Updated.
* NEWS: Updated.
Ok to push?
Cheers
Xerxes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jamvm-decouple-openjdk-from-hotspot.patch
Type: text/x-patch
Size: 4626 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20110705/4dff7c9b/jamvm-decouple-openjdk-from-hotspot.patch
More information about the distro-pkg-dev
mailing list