Integrated: 8315431: ArchiveHeapWriter::get_filler_size_at() cannot handle buffer expansion
Ioi Lam
iklam at openjdk.org
Fri May 10 20:37:18 UTC 2024
On Tue, 23 Apr 2024 15:47:46 GMT, Ioi Lam <iklam at openjdk.org> wrote:
> In `ArchiveHeapWriter::maybe_fill_gc_region_gap()`:
>
> - The address of `filler` will change if the buffer (which is a GrowableArrayCHeap) expands.
> - Instead of storing the address, we store the offset of `filler` from the beginning of the buffer. This offset will not change even if the buffer expands.
This pull request has now been integrated.
Changeset: 5e8e8ef6
Author: Ioi Lam <iklam at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/5e8e8ef6565e82a23626fe16893f93870dae1012
Stats: 6 lines in 1 file changed: 2 ins; 0 del; 4 mod
8315431: ArchiveHeapWriter::get_filler_size_at() cannot handle buffer expansion
Reviewed-by: matsaave, ccheung
-------------
PR: https://git.openjdk.org/jdk/pull/18920
More information about the hotspot-runtime-dev
mailing list