Integrated: 8299274: Add elements to resolved_references consistently
Coleen Phillimore
coleenp at openjdk.org
Fri Jan 6 14:00:57 UTC 2023
On Tue, 3 Jan 2023 18:35:20 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
> I added a resolved_references_at and set_resolved_references_at() functions to use for accesses to the resolved_references array, except for the CDS usages. This has an assert that the element is an oop and oob checks and setting elements use a CAS consistently.
> These asserts seem useful for finding the bug causing https://bugs.openjdk.org/browse/JDK-8296915.
> Tested with tiers1-4.
This pull request has now been integrated.
Changeset: 1e997292
Author: Coleen Phillimore <coleenp at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/1e9972922a3d8232cf111a391584638b272a3a17
Stats: 57 lines in 11 files changed: 20 ins; 5 del; 32 mod
8299274: Add elements to resolved_references consistently
Reviewed-by: iklam, dholmes, rehn, fparain
-------------
PR: https://git.openjdk.org/jdk/pull/11834
More information about the hotspot-dev
mailing list