mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
6990754: Use native memory and reference counting to implement SymbolTable
Move symbols from permgen into C heap and reference count them Reviewed-by: never, acorn, jmasa, stefank
This commit is contained in:
parent
950858350d
commit
7b4f8073f0
223 changed files with 3783 additions and 3641 deletions
|
@ -23,11 +23,13 @@
|
|||
*/
|
||||
|
||||
#include "precompiled.hpp"
|
||||
#include "classfile/symbolTable.hpp"
|
||||
#include "classfile/vmSymbols.hpp"
|
||||
#include "compiler/compileBroker.hpp"
|
||||
#include "compiler/compilerOracle.hpp"
|
||||
#include "gc_implementation/shared/isGCActiveMark.hpp"
|
||||
#include "memory/resourceArea.hpp"
|
||||
#include "oops/symbol.hpp"
|
||||
#include "runtime/arguments.hpp"
|
||||
#include "runtime/deoptimization.hpp"
|
||||
#include "runtime/interfaceSupport.hpp"
|
||||
|
@ -170,6 +172,12 @@ void VM_ZombieAll::doit() {
|
|||
|
||||
#endif // !PRODUCT
|
||||
|
||||
void VM_UnlinkSymbols::doit() {
|
||||
JavaThread *thread = (JavaThread *)calling_thread();
|
||||
assert(thread->is_Java_thread(), "must be a Java thread");
|
||||
SymbolTable::unlink();
|
||||
}
|
||||
|
||||
void VM_HandleFullCodeCache::doit() {
|
||||
NMethodSweeper::speculative_disconnect_nmethods(_is_full);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue