mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 06:14:49 +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
|
@ -79,7 +79,7 @@ HS_DTRACE_PROBE_DECL4(hotspot, monitor__contended__exit,
|
|||
char* bytes = NULL; \
|
||||
int len = 0; \
|
||||
jlong jtid = SharedRuntime::get_java_tid(thread); \
|
||||
symbolOop klassname = ((oop)(klassOop))->klass()->klass_part()->name(); \
|
||||
Symbol* klassname = ((oop)(klassOop))->klass()->klass_part()->name(); \
|
||||
if (klassname != NULL) { \
|
||||
bytes = (char*)klassname->bytes(); \
|
||||
len = klassname->utf8_length(); \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue