RFC: IcedTea7 JamVM selfhost patch - remove-sun.misc.Perf-debug-code
xerxes at zafena.se
Fri Jul 8 02:34:26 PDT 2011
tis 2011-07-05 klockan 15:45 +0200 skrev Xerxes Rånby:
> 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.
I decided to push this patch now when it are conditionalized to only
apply when performing JamVM builds.
Now is the time to start run some JamVM + OpenJDK 7 testing!
hg clone http://icedtea.classpath.org/hg/icedtea
More information about the distro-pkg-dev