< prev index next >

src/hotspot/share/gc/z/zThreadLocalData.hpp

Concurrent class unloading
 
 #ifndef SHARE_GC_Z_ZTHREADLOCALDATA_HPP
 #define SHARE_GC_Z_ZTHREADLOCALDATA_HPP
 
 #include "gc/z/zMarkStack.hpp"
+#include "gc/z/zNMethodBarrier.hpp"
 #include "runtime/thread.hpp"
 #include "utilities/debug.hpp"
 #include "utilities/sizes.hpp"
+#include "utilities/macros.hpp"
 
 class ZThreadLocalData {
 private:
   uintptr_t              _address_bad_mask;
   ZMarkThreadLocalStacks _stacks;

@@ -60,8 +62,12 } static ByteSize address_bad_mask_offset() { return Thread::gc_data_offset() + byte_offset_of(ZThreadLocalData, _address_bad_mask); } + + static ByteSize address_nmethod_barrier_offset() { + return address_bad_mask_offset() + in_ByteSize(4); + } }; #endif // SHARE_GC_Z_ZTHREADLOCALDATA_HPP
< prev index next >