8299274: Add elements to resolved_references consistently

Reviewed-by: iklam, dholmes, rehn, fparain
This commit is contained in:
Coleen Phillimore 2023-01-06 13:57:23 +00:00
parent 8cc1669ffd
commit 1e9972922a
11 changed files with 52 additions and 37 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 1998, 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1998, 2023, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -447,7 +447,7 @@ class ConstantPoolCache: public MetaspaceObj {
void set_archived_references(oop o) NOT_CDS_JAVA_HEAP_RETURN;
void clear_archived_references() NOT_CDS_JAVA_HEAP_RETURN;
inline oop resolved_references();
inline objArrayOop resolved_references();
void set_resolved_references(OopHandle s) { _resolved_references = s; }
Array<u2>* reference_map() const { return _reference_map; }
void set_reference_map(Array<u2>* o) { _reference_map = o; }