mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 10:34:38 +02:00
7117052: instanceKlass::_init_state can be u1 type
Change instanceKlass::_init_state field to u1 type. Reviewed-by: bdelsart, coleenp, dholmes, phh, never
This commit is contained in:
parent
8e81e037e7
commit
f9f4ba0203
14 changed files with 27 additions and 19 deletions
|
@ -2455,7 +2455,7 @@ void LIR_Assembler::emit_alloc_obj(LIR_OpAllocObj* op) {
|
|||
op->obj()->as_register() == O0 &&
|
||||
op->klass()->as_register() == G5, "must be");
|
||||
if (op->init_check()) {
|
||||
__ ld(op->klass()->as_register(),
|
||||
__ ldub(op->klass()->as_register(),
|
||||
instanceKlass::init_state_offset_in_bytes() + sizeof(oopDesc),
|
||||
op->tmp1()->as_register());
|
||||
add_debug_info_for_null_check_here(op->stub()->info());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue