This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: JNI and _Jv_Compiler_Properties (+patch)


Martin Kahlert wrote:
> > We will only support creating a single VM.
> 
> Now, for the first version or forever? I thought more than one VM
> should be able to run at the same time.

To support two (or more) VM instances per process, there must be separate class
instances, with their own static variables.  Each VM would have a set of threads
and probably their own heaps as well.

With libgcj each of the core classes are bound to global symbols.  I think that
makes it impossible to support more than one instance of a class per process.

--
Jeff Sturm
jeff.sturm@commerceone.com

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]