mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8297914: Remove java_lang_Class::process_archived_mirror()
Reviewed-by: ccheung
This commit is contained in:
parent
4be94e4350
commit
7bcd5f418c
10 changed files with 269 additions and 281 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1997, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 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
|
||||
|
@ -249,6 +249,8 @@ class java_lang_Class : AllStatic {
|
|||
static void compute_offsets();
|
||||
|
||||
// Instance creation
|
||||
static void allocate_mirror(Klass* k, bool is_scratch, Handle protection_domain, Handle classData,
|
||||
Handle& mirror, Handle& comp_mirror, TRAPS); // returns mirror and comp_mirror
|
||||
static void create_mirror(Klass* k, Handle class_loader, Handle module,
|
||||
Handle protection_domain, Handle classData, TRAPS);
|
||||
static void fixup_mirror(Klass* k, TRAPS);
|
||||
|
@ -256,10 +258,7 @@ class java_lang_Class : AllStatic {
|
|||
|
||||
// Archiving
|
||||
static void serialize_offsets(SerializeClosure* f) NOT_CDS_RETURN;
|
||||
static void archive_basic_type_mirrors() NOT_CDS_JAVA_HEAP_RETURN;
|
||||
static oop archive_mirror(Klass* k) NOT_CDS_JAVA_HEAP_RETURN_(NULL);
|
||||
static oop process_archived_mirror(Klass* k, oop mirror, oop archived_mirror)
|
||||
NOT_CDS_JAVA_HEAP_RETURN_(NULL);
|
||||
static void create_scratch_mirror(Klass* k, TRAPS) NOT_CDS_JAVA_HEAP_RETURN;
|
||||
static bool restore_archived_mirror(Klass *k, Handle class_loader, Handle module,
|
||||
Handle protection_domain,
|
||||
TRAPS) NOT_CDS_JAVA_HEAP_RETURN_(false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue