mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8179302: Pre-resolve constant pool string entries and cache resolved_reference arrays in CDS archive
8185924: G1NoteEndOfConcMarkClosure::doHeapRegion() does not do remembered set cleanup work for archive region Shared class' constant pool resolved_references array is cached. Co-authored-by: Thomas Schatzl <thomas.schatzl@oracle.com> Reviewed-by: coleenp, iklam, tschatzl
This commit is contained in:
parent
85fedbbb12
commit
4a77945c89
36 changed files with 931 additions and 418 deletions
|
@ -536,4 +536,18 @@
|
|||
non_atomic_decl
|
||||
#endif
|
||||
|
||||
#if INCLUDE_CDS && INCLUDE_ALL_GCS && defined(_LP64) && !defined(_WINDOWS)
|
||||
#define INCLUDE_CDS_JAVA_HEAP 1
|
||||
#define CDS_JAVA_HEAP_ONLY(x) x
|
||||
#define NOT_CDS_JAVA_HEAP(x)
|
||||
#define NOT_CDS_JAVA_HEAP_RETURN
|
||||
#define NOT_CDS_JAVA_HEAP_RETURN_(code)
|
||||
#else
|
||||
#define INCLUDE_CDS_JAVA_HEAP 0
|
||||
#define CDS_JAVA_HEAP_ONLY(x)
|
||||
#define NOT_CDS_JAVA_HEAP(x) x
|
||||
#define NOT_CDS_JAVA_HEAP_RETURN {}
|
||||
#define NOT_CDS_JAVA_HEAP_RETURN_(code) { return code; }
|
||||
#endif
|
||||
|
||||
#endif // SHARE_VM_UTILITIES_MACROS_HPP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue