Integrated: 8276229: Stop allowing implicit updates in G1BlockOffsetTable

Stefan Johansson sjohanss at openjdk.java.net
Tue Nov 16 08:30:43 UTC 2021


On Wed, 10 Nov 2021 10:48:24 GMT, Stefan Johansson <sjohanss at openjdk.org> wrote:

> Please review this change that removes some code that is no longer needed.
> 
> **Summary**
> In [JDK-8272083](https://bugs.openjdk.java.net/browse/JDK-8276229) G1 was changed to create a precise and complete BOT during evacuation (in the GC pause). This removes the need to update the BOT when looking up block starts. This previously happened in concurrent refinement and while scanning the heap in the pause, but with the precise BOT we should no longer require any such updates.
> 
> This change removes the slow path function that did the updates `forward_to_block_containing_addr_slow(...)`. It also renames some functions to no longer include a `_const` post-fix because there are only "const" versions of the functions remaining.
> 
> **Testing**
> 
> - [x] Mach5 1-3
> - [x] Local stress-testing

This pull request has now been integrated.

Changeset: 1d79cfd3
Author:    Stefan Johansson <sjohanss at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/1d79cfd3a16a71ec1bf93a0748e806b21a717b52
Stats:     95 lines in 4 files changed: 8 ins; 81 del; 6 mod

8276229: Stop allowing implicit updates in G1BlockOffsetTable

Reviewed-by: tschatzl, ayang

-------------

PR: https://git.openjdk.java.net/jdk/pull/6332



More information about the hotspot-gc-dev mailing list