< prev index next >

src/hotspot/share/gc/shenandoah/shenandoahRuntime.hpp

Print this page




  21  *
  22  */
  23 
  24 #ifndef SHARE_GC_SHENANDOAH_SHENANDOAHRUNTIME_HPP
  25 #define SHARE_GC_SHENANDOAH_SHENANDOAHRUNTIME_HPP
  26 
  27 #include "memory/allocation.hpp"
  28 #include "oops/oopsHierarchy.hpp"
  29 
  30 class JavaThread;
  31 class oopDesc;
  32 
  33 class ShenandoahRuntime : public AllStatic {
  34 public:
  35   static void write_ref_array_pre_oop_entry(oop* dst, size_t length);
  36   static void write_ref_array_pre_narrow_oop_entry(narrowOop* dst, size_t length);
  37   static void write_ref_array_post_entry(HeapWord* dst, size_t length);
  38   static void write_ref_field_pre_entry(oopDesc* orig, JavaThread* thread);
  39 
  40   static oopDesc* load_reference_barrier_JRT(oopDesc* src);


  41 
  42   static void shenandoah_clone_barrier(oopDesc* obj);
  43 };
  44 
  45 #endif // SHARE_GC_SHENANDOAH_SHENANDOAHRUNTIME_HPP


  21  *
  22  */
  23 
  24 #ifndef SHARE_GC_SHENANDOAH_SHENANDOAHRUNTIME_HPP
  25 #define SHARE_GC_SHENANDOAH_SHENANDOAHRUNTIME_HPP
  26 
  27 #include "memory/allocation.hpp"
  28 #include "oops/oopsHierarchy.hpp"
  29 
  30 class JavaThread;
  31 class oopDesc;
  32 
  33 class ShenandoahRuntime : public AllStatic {
  34 public:
  35   static void write_ref_array_pre_oop_entry(oop* dst, size_t length);
  36   static void write_ref_array_pre_narrow_oop_entry(narrowOop* dst, size_t length);
  37   static void write_ref_array_post_entry(HeapWord* dst, size_t length);
  38   static void write_ref_field_pre_entry(oopDesc* orig, JavaThread* thread);
  39 
  40   static oopDesc* load_reference_barrier_JRT(oopDesc* src);
  41   static oopDesc* load_reference_barrier_fixup_JRT(oopDesc* src, oop* load_addr);
  42   static oopDesc* load_reference_barrier_fixup_narrow_JRT(oopDesc* src, narrowOop* load_addr);
  43 
  44   static void shenandoah_clone_barrier(oopDesc* obj);
  45 };
  46 
  47 #endif // SHARE_GC_SHENANDOAH_SHENANDOAHRUNTIME_HPP
< prev index next >