< prev index next >

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

Print this page
@@ -33,10 +33,14 @@
    ZBarrierSet();
  
    static ZBarrierSetAssembler* assembler();
    static bool barrier_needed(DecoratorSet decorators, BasicType type);
  
+   // Loom support
+   static constexpr bool is_concurrent_gc() { return true; }
+   static bool requires_barriers(oop obj);
+ 
    virtual void on_thread_create(Thread* thread);
    virtual void on_thread_destroy(Thread* thread);
    virtual void on_thread_attach(Thread* thread);
    virtual void on_thread_detach(Thread* thread);
  
< prev index next >