mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8247912: Make narrowOop a scoped enum
Reviewed-by: iklam, stefank
This commit is contained in:
parent
928da494a8
commit
2d9fa9da02
22 changed files with 88 additions and 55 deletions
|
@ -204,7 +204,7 @@ Klass::Klass(KlassID id) : _id(id),
|
|||
_prototype_header(markWord::prototype()),
|
||||
_shared_class_path_index(-1) {
|
||||
CDS_ONLY(_shared_class_flags = 0;)
|
||||
CDS_JAVA_HEAP_ONLY(_archived_mirror = 0;)
|
||||
CDS_JAVA_HEAP_ONLY(_archived_mirror = narrowOop::null;)
|
||||
_primary_supers[0] = this;
|
||||
set_super_check_offset(in_bytes(primary_supers_offset()));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue