mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 03:58:21 +00:00
Revert "Stefan J 4"
This reverts commit 203d11979524126add9ee5d04174bde07a5a3f5a.
This commit is contained in:
parent
d0d1860058
commit
c5a7e2bb44
@ -2727,8 +2727,6 @@ void G1CollectedHeap::do_collection_pause_at_safepoint(size_t allocation_word_si
|
|||||||
|
|
||||||
_bytes_used_during_gc = 0;
|
_bytes_used_during_gc = 0;
|
||||||
|
|
||||||
_cm->fully_initialize();
|
|
||||||
|
|
||||||
policy()->decide_on_concurrent_start_pause();
|
policy()->decide_on_concurrent_start_pause();
|
||||||
// Record whether this pause may need to trigger a concurrent operation. Later,
|
// Record whether this pause may need to trigger a concurrent operation. Later,
|
||||||
// when we signal the G1ConcurrentMarkThread, the collector state has already
|
// when we signal the G1ConcurrentMarkThread, the collector state has already
|
||||||
|
|||||||
@ -1125,7 +1125,7 @@ G1YoungCollector::G1YoungCollector(GCCause::Cause gc_cause,
|
|||||||
}
|
}
|
||||||
|
|
||||||
void G1YoungCollector::collect() {
|
void G1YoungCollector::collect() {
|
||||||
// _g1h->_cm->fully_initialize();
|
_g1h->_cm->fully_initialize();
|
||||||
// Do timing/tracing/statistics/pre- and post-logging/verification work not
|
// Do timing/tracing/statistics/pre- and post-logging/verification work not
|
||||||
// directly related to the collection. They should not be accounted for in
|
// directly related to the collection. They should not be accounted for in
|
||||||
// collection work timing.
|
// collection work timing.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user