-
Enhancement
-
Resolution: Fixed
-
P4
-
10
-
b21
Code in instanceKlass.cpp that fetches the init_lock out of the mirror can be improved to get the init_lock more cheaply from the handle.
For example, change:
Handle h_init_lock(THREAD, init_lock());
ObjectLocker ol(h_init_lock, THREAD, init_lock() != NULL);
to:
Handle h_init_lock(THREAD, init_lock());
ObjectLocker ol(h_init_lock, THREAD, h_init_lock() != NULL);
For example, change:
Handle h_init_lock(THREAD, init_lock());
ObjectLocker ol(h_init_lock, THREAD, init_lock() != NULL);
to:
Handle h_init_lock(THREAD, init_lock());
ObjectLocker ol(h_init_lock, THREAD, h_init_lock() != NULL);
- relates to
-
JDK-8176705 Remove static functions in InstanceKlass
-
- Resolved
-
-
JDK-8178107 Compiler crashes with "assert(get_instanceKlass()->is_loaded()) failed: must be at least loaded"
-
- Resolved
-