src/hotspot/share/aot/aotCodeHeap.hpp
changeset 48172 e26fc5201707
parent 47668 fc4cfca10556
child 51206 14b870bda24f
equal deleted inserted replaced
48171:7ad2d33a0f05 48172:e26fc5201707
    90     AOT_SHARED_VERSION = 1
    90     AOT_SHARED_VERSION = 1
    91   };
    91   };
    92 } AOTHeader;
    92 } AOTHeader;
    93 
    93 
    94 typedef struct {
    94 typedef struct {
    95   enum { CONFIG_SIZE = 7 * jintSize + 11 };
    95   enum { CONFIG_SIZE = 7 * jintSize + 12 };
    96   // 7 int values
    96   // 7 int values
    97   int _config_size;
    97   int _config_size;
    98   int _narrowOopShift;
    98   int _narrowOopShift;
    99   int _narrowKlassShift;
    99   int _narrowKlassShift;
   100   int _contendedPaddingWidth;
   100   int _contendedPaddingWidth;
   101   int _fieldsAllocationStyle;
   101   int _fieldsAllocationStyle;
   102   int _objectAlignment;
   102   int _objectAlignment;
   103   int _codeSegmentSize;
   103   int _codeSegmentSize;
   104   // byte[11] array map to boolean values here
   104   // byte[12] array map to boolean values here
   105   bool _debug_VM;
   105   bool _debug_VM;
   106   bool _useCompressedOops;
   106   bool _useCompressedOops;
   107   bool _useCompressedClassPointers;
   107   bool _useCompressedClassPointers;
   108   bool _compactFields;
   108   bool _compactFields;
   109   bool _useG1GC;
   109   bool _useG1GC;
   111   bool _useBiasedLocking;
   111   bool _useBiasedLocking;
   112   bool _tieredAOT;
   112   bool _tieredAOT;
   113   bool _enableContended;
   113   bool _enableContended;
   114   bool _restrictContended;
   114   bool _restrictContended;
   115   bool _omitAssertions;
   115   bool _omitAssertions;
       
   116   bool _threadLocalHandshakes;
   116 } AOTConfiguration;
   117 } AOTConfiguration;
   117 
   118 
   118 class AOTLib : public CHeapObj<mtCode> {
   119 class AOTLib : public CHeapObj<mtCode> {
   119   static bool _narrow_oop_shift_initialized;
   120   static bool _narrow_oop_shift_initialized;
   120   static int _narrow_oop_shift;
   121   static int _narrow_oop_shift;