src/hotspot/share/oops/cpCache.inline.hpp
changeset 50429 83aec1d357d4
parent 49816 a3e79f97e86b
child 53244 9807daeb47c4
equal deleted inserted replaced
50428:8c88df2e8a78 50429:83aec1d357d4
    25 #ifndef SHARE_VM_OOPS_CPCACHEOOP_INLINE_HPP
    25 #ifndef SHARE_VM_OOPS_CPCACHEOOP_INLINE_HPP
    26 #define SHARE_VM_OOPS_CPCACHEOOP_INLINE_HPP
    26 #define SHARE_VM_OOPS_CPCACHEOOP_INLINE_HPP
    27 
    27 
    28 #include "oops/cpCache.hpp"
    28 #include "oops/cpCache.hpp"
    29 #include "oops/oopHandle.inline.hpp"
    29 #include "oops/oopHandle.inline.hpp"
    30 #include "runtime/orderAccess.inline.hpp"
    30 #include "runtime/orderAccess.hpp"
    31 
    31 
    32 inline int ConstantPoolCacheEntry::indices_ord() const { return OrderAccess::load_acquire(&_indices); }
    32 inline int ConstantPoolCacheEntry::indices_ord() const { return OrderAccess::load_acquire(&_indices); }
    33 
    33 
    34 inline Bytecodes::Code ConstantPoolCacheEntry::bytecode_1() const {
    34 inline Bytecodes::Code ConstantPoolCacheEntry::bytecode_1() const {
    35   return Bytecodes::cast((indices_ord() >> bytecode_1_shift) & bytecode_1_mask);
    35   return Bytecodes::cast((indices_ord() >> bytecode_1_shift) & bytecode_1_mask);