Mercurial > hg > truffle
diff src/cpu/x86/vm/templateTable_x86_32.cpp @ 4739:52b5d32fbfaf
7117052: instanceKlass::_init_state can be u1 type
Summary: Change instanceKlass::_init_state field to u1 type.
Reviewed-by: bdelsart, coleenp, dholmes, phh, never
Contributed-by: Jiangli Zhou <jiangli.zhou@oracle.com>
author | coleenp |
---|---|
date | Tue, 06 Dec 2011 18:28:51 -0500 |
parents | fdb992d83a87 |
children | 22cee0ee8927 |
line wrap: on
line diff
--- a/src/cpu/x86/vm/templateTable_x86_32.cpp Tue Nov 29 14:44:44 2011 -0500 +++ b/src/cpu/x86/vm/templateTable_x86_32.cpp Tue Dec 06 18:28:51 2011 -0500 @@ -3188,7 +3188,7 @@ // make sure klass is initialized & doesn't have finalizer // make sure klass is fully initialized - __ cmpl(Address(rcx, instanceKlass::init_state_offset_in_bytes() + sizeof(oopDesc)), instanceKlass::fully_initialized); + __ cmpb(Address(rcx, instanceKlass::init_state_offset_in_bytes() + sizeof(oopDesc)), instanceKlass::fully_initialized); __ jcc(Assembler::notEqual, slow_case); // get instance_size in instanceKlass (scaled to a count of bytes)