@@ -174,6 +174,7 @@ class HeapRegion : public CHeapObj<mtGC> {
174
174
175
175
void update_bot_for_block (HeapWord* start, HeapWord* end);
176
176
177
+ void prepare_for_full_gc ();
177
178
// Update heap region that has been compacted to be consistent after Full GC.
178
179
void reset_compacted_after_full_gc (HeapWord* new_top);
179
180
// Update skip-compacting heap region to be consistent after Full GC.
@@ -229,11 +230,17 @@ class HeapRegion : public CHeapObj<mtGC> {
229
230
HeapWord* volatile _top_at_mark_start;
230
231
231
232
// The area above this limit is fully parsable. This limit
232
- // is equal to bottom except from Remark and until the region has been
233
- // scrubbed concurrently. The scrubbing ensures that all dead objects (with
234
- // possibly unloaded classes) have beenreplaced with filler objects that
235
- // are parsable. Below this limit the marking bitmap must be used to
236
- // determine size and liveness.
233
+ // is equal to bottom except
234
+ //
235
+ // * from Remark and until the region has been scrubbed concurrently. The
236
+ // scrubbing ensures that all dead objects (with possibly unloaded classes)
237
+ // have been replaced with filler objects that are parsable.
238
+ // * after the marking phase in the Full GC pause until the objects have been
239
+ // moved. Some (debug) code iterates over the heap after marking but before
240
+ // compaction.
241
+ //
242
+ // Below this limit the marking bitmap must be used to determine size and
243
+ // liveness.
237
244
HeapWord* volatile _parsable_bottom;
238
245
239
246
// Amount of dead data in the region.
3 commit comments
openjdk-notifier[bot] commentedon Nov 22, 2023
Review
Issues
GoeLin commentedon Apr 22, 2024
/backport jdk21u-dev
openjdk[bot] commentedon Apr 22, 2024
@GoeLin the backport was successfully created on the branch backport-GoeLin-1629a905 in my personal fork of openjdk/jdk21u-dev. To create a pull request with this backport targeting openjdk/jdk21u-dev:master, just click the following link:
➡️ Create pull request
The title of the pull request is automatically filled in correctly and below you find a suggestion for the pull request body:
If you need to update the source branch of the pull then run the following commands in a local clone of your personal fork of openjdk/jdk21u-dev: