comparison src/share/vm/memory/modRefBarrierSet.hpp @ 14521:29ccc4cbabca

Merge
author Gilles Duboscq <duboscq@ssw.jku.at>
date Wed, 12 Mar 2014 13:30:08 +0100
parents 8a9bb7821e28
children 4ca6dc0799b6
comparison
equal deleted inserted replaced
14520:f84115370178 14521:29ccc4cbabca
58 juint val1, juint val2) {} 58 juint val1, juint val2) {}
59 59
60 void read_ref_field(void* field) {} 60 void read_ref_field(void* field) {}
61 void read_prim_field(HeapWord* field, size_t bytes) {} 61 void read_prim_field(HeapWord* field, size_t bytes) {}
62 protected: 62 protected:
63 virtual void write_ref_field_work(void* field, oop new_val) = 0; 63 virtual void write_ref_field_work(void* field, oop new_val, bool release = false) = 0;
64 public: 64 public:
65 void write_prim_field(HeapWord* field, size_t bytes, 65 void write_prim_field(HeapWord* field, size_t bytes,
66 juint val1, juint val2) {} 66 juint val1, juint val2) {}
67 67
68 bool has_read_ref_array_opt() { return false; } 68 bool has_read_ref_array_opt() { return false; }
70 bool has_write_prim_array_opt() { return false; } 70 bool has_write_prim_array_opt() { return false; }
71 71
72 bool has_read_region_opt() { return false; } 72 bool has_read_region_opt() { return false; }
73 73
74 74
75 // These operations should assert false unless the correponding operation 75 // These operations should assert false unless the corresponding operation
76 // above returns true. 76 // above returns true.
77 void read_ref_array(MemRegion mr) { 77 void read_ref_array(MemRegion mr) {
78 assert(false, "can't call"); 78 assert(false, "can't call");
79 } 79 }
80 void read_prim_array(MemRegion mr) { 80 void read_prim_array(MemRegion mr) {