Re: do we need sun.misc.VM?

Date view Thread view Subject view Author view

From: Alexandre Oliva (oliva@dcc.unicamp.br)
Date: Mon Nov 16 1998 - 02:28:25 EST


On Nov 16, 1998, Godmar Back <gback@cs.utah.edu> wrote:

>> If this would provide means to some very good optimizations, I
>> certainly would :-)

> You mean to check for sun.misc.VM, and apply optimizations if found?
> That would make sense. What I meant is: why would they even check for
> sun.misc.VM at all. To encourage third-party JVMs?

To ensure that it is 100% Pure Java, maybe...

> We don't know, though. So here's something interesting:

> Failed to locate native function:
> sun/misc/VM.getState()I
> java.lang.UnsatisfiedLinkError
> at sunw/hotjava/misc/ResourceManager.internalCreate(88)
> at sunw/hotjava/misc/ResourceManager.getManager(80)
> at sunw/hotjava/misc/ResourceManager.create(72)
> at sunw/hotjava/Main.main(144)

What if you delete sun/misc/VM.class from classes.zip?

> (you'll have thread dump facility too once I'm done with this and check
> everything in)

Cool! Will it be callable from within gdb?

-- 
Alexandre Oliva  http://www.dcc.unicamp.br/~oliva  aoliva@{acm.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org.au}
Universidade Estadual de Campinas, SP, Brasil


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:03 EDT