8209120: Archive the Integer.IntegerCache

Reviewed-by: jiangli, alanb, plevart, iklam, mchung
This commit is contained in:
Claes Redestad 2018-08-13 19:21:43 +02:00
parent 8044814e30
commit 5c3008fbc4
8 changed files with 272 additions and 5 deletions

View file

@ -1485,6 +1485,15 @@ class java_util_concurrent_locks_AbstractOwnableSynchronizer : AllStatic {
static void serialize(SerializeClosure* f) NOT_CDS_RETURN;
};
class java_lang_Integer_IntegerCache: AllStatic {
private:
static int _archivedCache_offset;
public:
static int archivedCache_offset() { return _archivedCache_offset; }
static void compute_offsets();
static void serialize(SerializeClosure* f) NOT_CDS_RETURN;
};
class jdk_internal_module_ArchivedModuleGraph: AllStatic {
private:
static int _archivedSystemModules_offset;