Loading... (original) (raw)
The code that initializes system properties, which is partly in the libraries
(src/share/native/java/lang/System.c and the various java_props*.[ch] files)
and partly in HotSpot, does (almost) one JNI upcall for each system property
defined. Since JNI upcalls are relatively expensive we should explore ways of
reorganizing the code in order to reduce them. The native code could, e.g.,
pass a single big byte array up to the Java level, which could then decode that
array in one operation.
-- ###@###.### 2003/11/3