Mercurial > hg > truffle
comparison src/share/vm/memory/modRefBarrierSet.hpp @ 14518:d8041d695d19
Merged with jdk9/dev/hotspot changeset 3812c088b945
author | twisti |
---|---|
date | Tue, 11 Mar 2014 18:45:59 -0700 |
parents | 8a9bb7821e28 |
children | 4ca6dc0799b6 |
comparison
equal
deleted
inserted
replaced
14141:f97c5ec83832 | 14518:d8041d695d19 |
---|---|
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) { |