Mercurial > hg > truffle
comparison src/share/vm/runtime/init.cpp @ 6725:da91efe96a93
6964458: Reimplement class meta-data storage to use native memory
Summary: Remove PermGen, allocate meta-data in metaspace linked to class loaders, rewrite GC walking, rewrite and rename metadata to be C++ classes
Reviewed-by: jmasa, stefank, never, coleenp, kvn, brutisso, mgerdin, dholmes, jrose, twisti, roland
Contributed-by: jmasa <jon.masamitsu@oracle.com>, stefank <stefan.karlsson@oracle.com>, mgerdin <mikael.gerdin@oracle.com>, never <tom.rodriguez@oracle.com>
author | coleenp |
---|---|
date | Sat, 01 Sep 2012 13:25:18 -0400 |
parents | e9140bf80b4a |
children | fb19af007ffc |
comparison
equal
deleted
inserted
replaced
6724:36d1d483d5d6 | 6725:da91efe96a93 |
---|---|
92 jint init_globals() { | 92 jint init_globals() { |
93 HandleMark hm; | 93 HandleMark hm; |
94 management_init(); | 94 management_init(); |
95 bytecodes_init(); | 95 bytecodes_init(); |
96 classLoader_init(); | 96 classLoader_init(); |
97 Metaspace::global_initialize(); // must be before codeCache | |
97 codeCache_init(); | 98 codeCache_init(); |
98 VM_Version_init(); | 99 VM_Version_init(); |
99 os_init_globals(); | 100 os_init_globals(); |
100 stubRoutines_init1(); | 101 stubRoutines_init1(); |
101 jint status = universe_init(); // dependent on codeCache_init and | 102 jint status = universe_init(); // dependent on codeCache_init and |
102 // stubRoutines_init1 | 103 // stubRoutines_init1 and metaspace_init. |
103 if (status != JNI_OK) | 104 if (status != JNI_OK) |
104 return status; | 105 return status; |
105 | 106 |
106 interpreter_init(); // before any methods loaded | 107 interpreter_init(); // before any methods loaded |
107 invocationCounter_init(); // before any methods loaded | 108 invocationCounter_init(); // before any methods loaded |