Mercurial > hg > graal-jvmci-8
comparison src/cpu/x86/vm/templateTable_x86_64.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 |
comparison
equal
deleted
inserted
replaced
4738:da4dd142ea01 | 4739:52b5d32fbfaf |
---|---|
3233 __ movptr(rsi, Address(rsi, rdx, | 3233 __ movptr(rsi, Address(rsi, rdx, |
3234 Address::times_8, sizeof(constantPoolOopDesc))); | 3234 Address::times_8, sizeof(constantPoolOopDesc))); |
3235 | 3235 |
3236 // make sure klass is initialized & doesn't have finalizer | 3236 // make sure klass is initialized & doesn't have finalizer |
3237 // make sure klass is fully initialized | 3237 // make sure klass is fully initialized |
3238 __ cmpl(Address(rsi, | 3238 __ cmpb(Address(rsi, |
3239 instanceKlass::init_state_offset_in_bytes() + | 3239 instanceKlass::init_state_offset_in_bytes() + |
3240 sizeof(oopDesc)), | 3240 sizeof(oopDesc)), |
3241 instanceKlass::fully_initialized); | 3241 instanceKlass::fully_initialized); |
3242 __ jcc(Assembler::notEqual, slow_case); | 3242 __ jcc(Assembler::notEqual, slow_case); |
3243 | 3243 |