< prev index next >

src/share/vm/aot/aotCodeHeap.hpp

Print this page
rev 13430 : imported patch fix_calls

*** 24,42 **** --- 24,46 ---- #ifndef SHARE_VM_AOT_AOTCODEHEAP_HPP #define SHARE_VM_AOT_AOTCODEHEAP_HPP #include "aot/aotCompiledMethod.hpp" #include "classfile/symbolTable.hpp" + #include "metaprogramming/integralConstant.hpp" + #include "metaprogramming/isRegisteredEnum.hpp" #include "oops/metadata.hpp" #include "oops/method.hpp" enum CodeState { not_set = 0, // _aot fields is not set yet in_use = 1, // _aot field is set to corresponding AOTCompiledMethod invalid = 2 // AOT code is invalidated because dependencies failed }; + template<> struct IsRegisteredEnum<CodeState> : public TrueType {}; + typedef struct { AOTCompiledMethod* _aot; CodeState _state; // State change cases: not_set->in_use, not_set->invalid } CodeToAMethod;
< prev index next >