mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
6652736: well known classes in system dictionary are inefficiently processed
Combine many scalar variables into a single enum-indexed array in SystemDictionary. Reviewed-by: kvn
This commit is contained in:
parent
b05f95c5a9
commit
bb7ccea4ff
8 changed files with 519 additions and 555 deletions
|
@ -541,6 +541,7 @@ bool ThreadStackTrace::is_owned_monitor_on_stack(oop object) {
|
|||
|
||||
Handle ThreadStackTrace::allocate_fill_stack_trace_element_array(TRAPS) {
|
||||
klassOop k = SystemDictionary::stackTraceElement_klass();
|
||||
assert(k != NULL, "must be loaded in 1.4+");
|
||||
instanceKlassHandle ik(THREAD, k);
|
||||
|
||||
// Allocate an array of java/lang/StackTraceElement object
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue