< prev index next >

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

Print this page




  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* src, oop* dst, size_t length);
  36   static void write_ref_array_pre_narrow_oop_entry(narrowOop* src, narrowOop* dst, size_t length);
  37   static void write_ref_array_pre_duinit_oop_entry(oop* src, oop* dst, size_t length);
  38   static void write_ref_array_pre_duinit_narrow_oop_entry(narrowOop* src, narrowOop* dst, size_t length);
  39   static void write_ref_field_pre_entry(oopDesc* orig, JavaThread* thread);
  40 
  41   static oopDesc* load_reference_barrier(oopDesc* src);
  42   static oopDesc* load_reference_barrier_fixup(oopDesc* src, oop* load_addr);
  43   static oopDesc* load_reference_barrier_fixup_narrow(oopDesc* src, narrowOop* load_addr);
  44 
  45   static oopDesc* load_reference_barrier_native(oopDesc* src);
  46 
  47   static void shenandoah_clone_barrier(oopDesc* s, oopDesc* d, size_t length);
  48 };
  49 
  50 #endif // SHARE_GC_SHENANDOAH_SHENANDOAHRUNTIME_HPP


  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* src, oop* dst, size_t length);
  36   static void write_ref_array_pre_narrow_oop_entry(narrowOop* src, narrowOop* dst, size_t length);
  37   static void write_ref_array_pre_duinit_oop_entry(oop* src, oop* dst, size_t length);
  38   static void write_ref_array_pre_duinit_narrow_oop_entry(narrowOop* src, narrowOop* dst, size_t length);
  39   static void write_ref_field_pre_entry(oopDesc* orig, JavaThread* thread);
  40 
  41   static oopDesc* load_reference_barrier(oopDesc* src);
  42   static oopDesc* load_reference_barrier_fixup(oopDesc* src, oop* load_addr);
  43   static oopDesc* load_reference_barrier_fixup_narrow(oopDesc* src, narrowOop* load_addr);
  44 
  45   static oopDesc* load_reference_barrier_native(oopDesc* src);
  46 
  47   static void shenandoah_clone_barrier(oopDesc* src);
  48 };
  49 
  50 #endif // SHARE_GC_SHENANDOAH_SHENANDOAHRUNTIME_HPP
< prev index next >