< prev index next >
src/hotspot/share/gc/g1/g1ParScanThreadState.hpp
Print this page
rev 49680 : imported patch 6672778-partial-queue-trimming
rev 49681 : imported patch 6672778-refactoring
rev 49682 : [mq]: 6672778-stefanj-review
@@ -189,21 +189,22 @@
void report_promotion_event(InCSetState const dest_state,
oop const old, size_t word_sz, uint age,
HeapWord * const obj_ptr) const;
- inline bool should_start_trim_queue_partially() const;
- inline bool should_end_trim_queue_partially() const;
+ inline bool needs_partial_trimming() const;
+ inline bool is_partially_trimmed() const;
- inline void trim_queue_partially_internal();
+ inline void trim_queue_to_threshold(uint threshold);
public:
oop copy_to_survivor_space(InCSetState const state, oop const obj, markOop const old_mark);
void trim_queue();
void trim_queue_partially();
- Tickspan trim_ticks_and_reset();
+ Tickspan trim_ticks();
+ void reset_trim_ticks();
inline void steal_and_trim_queue(RefToScanQueueSet *task_queues);
// An attempt to evacuate "obj" has failed; take necessary steps.
oop handle_evacuation_failure_par(oop obj, markOop m);
< prev index next >