47 // pre-marking object graph. |
47 // pre-marking object graph. |
48 static void enqueue(oop pre_val); |
48 static void enqueue(oop pre_val); |
49 |
49 |
50 static void enqueue_if_weak_or_archive(DecoratorSet decorators, oop value); |
50 static void enqueue_if_weak_or_archive(DecoratorSet decorators, oop value); |
51 |
51 |
52 template <class T> void write_ref_array_pre_work(T* dst, int count); |
52 template <class T> void write_ref_array_pre_work(T* dst, size_t count); |
53 virtual void write_ref_array_pre(oop* dst, int count, bool dest_uninitialized); |
53 virtual void write_ref_array_pre(oop* dst, size_t count, bool dest_uninitialized); |
54 virtual void write_ref_array_pre(narrowOop* dst, int count, bool dest_uninitialized); |
54 virtual void write_ref_array_pre(narrowOop* dst, size_t count, bool dest_uninitialized); |
|
55 |
|
56 static void write_ref_array_pre_oop_entry(oop* dst, size_t length); |
|
57 static void write_ref_array_pre_narrow_oop_entry(narrowOop* dst, size_t length); |
|
58 static void write_ref_array_post_entry(HeapWord* dst, size_t length); |
55 |
59 |
56 template <DecoratorSet decorators, typename T> |
60 template <DecoratorSet decorators, typename T> |
57 void write_ref_field_pre(T* field); |
61 void write_ref_field_pre(T* field); |
58 |
62 |
59 // NB: if you do a whole-heap invalidation, the "usual invariant" defined |
63 // NB: if you do a whole-heap invalidation, the "usual invariant" defined |