Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/vm_operations.cpp @ 2177:3582bf76420e
6990754: Use native memory and reference counting to implement SymbolTable
Summary: move symbols from permgen into C heap and reference count them
Reviewed-by: never, acorn, jmasa, stefank
author | coleenp |
---|---|
date | Thu, 27 Jan 2011 16:11:27 -0800 |
parents | f95d63e2154a |
children | 1d1603768966 |
comparison
equal
deleted
inserted
replaced
2176:27e4ea99855d | 2177:3582bf76420e |
---|---|
21 * questions. | 21 * questions. |
22 * | 22 * |
23 */ | 23 */ |
24 | 24 |
25 #include "precompiled.hpp" | 25 #include "precompiled.hpp" |
26 #include "classfile/symbolTable.hpp" | |
26 #include "classfile/vmSymbols.hpp" | 27 #include "classfile/vmSymbols.hpp" |
27 #include "compiler/compileBroker.hpp" | 28 #include "compiler/compileBroker.hpp" |
28 #include "compiler/compilerOracle.hpp" | 29 #include "compiler/compilerOracle.hpp" |
29 #include "gc_implementation/shared/isGCActiveMark.hpp" | 30 #include "gc_implementation/shared/isGCActiveMark.hpp" |
30 #include "memory/resourceArea.hpp" | 31 #include "memory/resourceArea.hpp" |
32 #include "oops/symbol.hpp" | |
31 #include "runtime/arguments.hpp" | 33 #include "runtime/arguments.hpp" |
32 #include "runtime/deoptimization.hpp" | 34 #include "runtime/deoptimization.hpp" |
33 #include "runtime/interfaceSupport.hpp" | 35 #include "runtime/interfaceSupport.hpp" |
34 #include "runtime/sweeper.hpp" | 36 #include "runtime/sweeper.hpp" |
35 #include "runtime/vm_operations.hpp" | 37 #include "runtime/vm_operations.hpp" |
168 thread->make_zombies(); | 170 thread->make_zombies(); |
169 } | 171 } |
170 | 172 |
171 #endif // !PRODUCT | 173 #endif // !PRODUCT |
172 | 174 |
175 void VM_UnlinkSymbols::doit() { | |
176 JavaThread *thread = (JavaThread *)calling_thread(); | |
177 assert(thread->is_Java_thread(), "must be a Java thread"); | |
178 SymbolTable::unlink(); | |
179 } | |
180 | |
173 void VM_HandleFullCodeCache::doit() { | 181 void VM_HandleFullCodeCache::doit() { |
174 NMethodSweeper::speculative_disconnect_nmethods(_is_full); | 182 NMethodSweeper::speculative_disconnect_nmethods(_is_full); |
175 } | 183 } |
176 | 184 |
177 void VM_Verify::doit() { | 185 void VM_Verify::doit() { |