mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 02:24:40 +02:00
8274788: Support archived heap objects in ParallelGC
Reviewed-by: iklam, ayang, tschatzl
This commit is contained in:
parent
fc918a73d0
commit
234c17e8ff
7 changed files with 156 additions and 1 deletions
|
@ -273,6 +273,11 @@ class ParallelScavengeHeap : public CollectedHeap {
|
|||
WorkerThreads& workers() {
|
||||
return _workers;
|
||||
}
|
||||
|
||||
// Support for loading objects from CDS archive into the heap
|
||||
bool can_load_archived_objects() const { return UseCompressedOops; }
|
||||
HeapWord* allocate_loaded_archive_space(size_t size);
|
||||
void complete_loaded_archive_space(MemRegion archive_space);
|
||||
};
|
||||
|
||||
// Class that can be used to print information about the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue