mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
8153117: Back out JDK-8142935 until JDK-8152723 fixed
JDK-8142935 fix can lead to avoidable Full GCs Reviewed-by: jwilhelm, tschatzl
This commit is contained in:
parent
d077700179
commit
4f0ffb6ce9
4 changed files with 6 additions and 50 deletions
|
@ -57,9 +57,6 @@ class G1CollectionSet VALUE_OBJ_CLASS_SPEC {
|
|||
// (if any) to the collection set.
|
||||
size_t _bytes_used_before;
|
||||
|
||||
// The sum of live bytes in the collection set, set as described above.
|
||||
size_t _bytes_live_before;
|
||||
|
||||
size_t _recorded_rs_lengths;
|
||||
|
||||
// The associated information that is maintained while the incremental
|
||||
|
@ -84,9 +81,6 @@ class G1CollectionSet VALUE_OBJ_CLASS_SPEC {
|
|||
// an evacuation pause.
|
||||
size_t _inc_bytes_used_before;
|
||||
|
||||
// The number of live bytes in the incrementally built collection set.
|
||||
size_t _inc_bytes_live_before;
|
||||
|
||||
// The RSet lengths recorded for regions in the CSet. It is updated
|
||||
// by the thread that adds a new region to the CSet. We assume that
|
||||
// only one thread can be allocating a new CSet region (currently,
|
||||
|
@ -179,10 +173,6 @@ public:
|
|||
_bytes_used_before = 0;
|
||||
}
|
||||
|
||||
void reset_bytes_live_before() {
|
||||
_bytes_live_before = 0;
|
||||
}
|
||||
|
||||
// Choose a new collection set. Marks the chosen regions as being
|
||||
// "in_collection_set", and links them together. The head and number of
|
||||
// the collection set are available via access methods.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue