equal
deleted
inserted
replaced
113 // that did not enter a TLAB. Used for e.g. ReduceInitialCardMarks. |
113 // that did not enter a TLAB. Used for e.g. ReduceInitialCardMarks. |
114 // The allocation is safe to use iff it returns true. If not, the slow-path allocation |
114 // The allocation is safe to use iff it returns true. If not, the slow-path allocation |
115 // is redone until it succeeds. This can e.g. prevent allocations from the slow path |
115 // is redone until it succeeds. This can e.g. prevent allocations from the slow path |
116 // to be in old. |
116 // to be in old. |
117 virtual void on_slowpath_allocation_exit(JavaThread* thread, oop new_obj) {} |
117 virtual void on_slowpath_allocation_exit(JavaThread* thread, oop new_obj) {} |
118 virtual void flush_deferred_barriers(JavaThread* thread) {} |
118 virtual void on_thread_attach(JavaThread* thread) {} |
|
119 virtual void on_thread_detach(JavaThread* thread) {} |
119 virtual void make_parsable(JavaThread* thread) {} |
120 virtual void make_parsable(JavaThread* thread) {} |
120 |
121 |
121 protected: |
122 protected: |
122 virtual void write_ref_array_work(MemRegion mr) = 0; |
123 virtual void write_ref_array_work(MemRegion mr) = 0; |
123 |
124 |