commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

vmintegration.texinfo change: Added info on JNI requirements


From: Steven Augart
Subject: vmintegration.texinfo change: Added info on JNI requirements
Date: Sun, 06 Jun 2004 00:53:48 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7b) Gecko/20040421


--
Steven Augart

Jikes RVM, a free, open source, Virtual Machine:
http://oss.software.ibm.com/jikesrvm
2004-06-06  Steven Augart  <address@hidden>

        * doc/vmintegration.texinfo (JNI Version): New section.
        (VM Threading Model): New section.
        (Miscellaneous VM Requirements): New chapter.

Index: doc/vmintegration.texinfo
===================================================================
RCS file: /cvsroot/classpath/classpath/doc/vmintegration.texinfo,v
retrieving revision 1.10
diff -I*.class -u -r1.10 vmintegration.texinfo
--- doc/vmintegration.texinfo   6 Jun 2004 03:45:56 -0000       1.10
+++ doc/vmintegration.texinfo   6 Jun 2004 04:33:15 -0000
@@ -65,7 +65,7 @@
 * Initialization::              Initializing the classes
 * Classpath Hooks::             Hooks from Classpath to the VM
 * VM Hooks::                    Hooks from the underlying VM to Classpath
-
+* Miscellaneous VM Requirements::  
 @end menu
 
 @node Introduction, Initialization, Top, Top
@@ -224,7 +224,7 @@
 @end itemize
 
 
address@hidden VM Hooks,  , Classpath Hooks, Top
address@hidden VM Hooks, Miscellaneous VM Requirements, Classpath Hooks, Top
 @comment node-name, next, previous, up
 @chapter VM Hooks
 
@@ -293,5 +293,41 @@
 
 @end itemize
 
address@hidden Miscellaneous VM Requirements,  , VM Hooks, Top
address@hidden  node-name,  next,  previous,  up
address@hidden Miscellaneous VM Requirements
+
+Classpath places a few requirements on the VM that uses it.
+
address@hidden
+* JNI Version::                 
+* VM Threading Model::          
address@hidden menu
+
address@hidden JNI Version, VM Threading Model, Miscellaneous VM Requirements, 
Miscellaneous VM Requirements
address@hidden  node-name,  next,  previous,  up
address@hidden JNI Version
+
+Classpath currently uses only JNI 1.1, except for one JNI 1.2 function
+in the JNI Invocation API: GetEnv().  And GetEnv() is only used in the
+--portable-native-sync code, so it's only actually used by Jikes RVM
+and Kaffe.  
+
+A future direction will probably be to require that all VMs provide
+JNI 1.2.  If this poses problems, please raise them on the classpath
+mailing list. 
+
address@hidden VM Threading Model,  , JNI Version, Miscellaneous VM Requirements
address@hidden  node-name,  next,  previous,  up
address@hidden VM Threading Model
+
+Classpath's AWT peers use GTK+.  GTK+ uses GLIB.  GLIB by default uses
+the platform's native threading model -- pthreads in most cases.
+
+If the Java runtime doesn't use the native threading model, then you
+should specify --portable-native-sync when configuring Classpath, so
+that GLIB will use the Java threading primitives instead.
 
 @bye
+
+

reply via email to

[Prev in Thread] Current Thread [Next in Thread]