mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 01:24:33 +02:00
8318484: Initial version of cdsConfig.hpp
Reviewed-by: dholmes, ccheung, sspitsyn
This commit is contained in:
parent
a876beb63d
commit
ecd25e7d6f
36 changed files with 220 additions and 111 deletions
|
@ -23,6 +23,7 @@
|
|||
*/
|
||||
|
||||
#include "precompiled.hpp"
|
||||
#include "cds/cdsConfig.hpp"
|
||||
#include "classfile/altHashing.hpp"
|
||||
#include "classfile/javaClasses.inline.hpp"
|
||||
#include "gc/shared/collectedHeap.inline.hpp"
|
||||
|
@ -162,7 +163,7 @@ bool oopDesc::has_klass_gap() {
|
|||
|
||||
#if INCLUDE_CDS_JAVA_HEAP
|
||||
void oopDesc::set_narrow_klass(narrowKlass nk) {
|
||||
assert(DumpSharedSpaces, "Used by CDS only. Do not abuse!");
|
||||
assert(CDSConfig::is_dumping_heap(), "Used by CDS only. Do not abuse!");
|
||||
assert(UseCompressedClassPointers, "must be");
|
||||
_metadata._compressed_klass = nk;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue