mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 12:09:14 +00:00
Add virtual back for release_alloc_regions and reserve_alloc_regions to fix link error
This commit is contained in:
parent
5a9e1088cc
commit
73e6e8da67
@ -129,12 +129,12 @@ public:
|
||||
// Caller must hold the heap lock at safepoint. This causes all directly allocatable regions to be placed into
|
||||
// the appropriate ShenandoahFreeSet partition.
|
||||
// Collector calls this in preparation for choosing a collection set and/or rebuilding the freeset.
|
||||
void release_alloc_regions();
|
||||
virtual void release_alloc_regions();
|
||||
|
||||
// Caller must hold the heap lock at safepoint. This causes us to set aside N regions as directly allocatable
|
||||
// by removing these regions from the relevant ShenandoahFreeSet partitions.
|
||||
// Collector calls this after rebuilding the freeset.
|
||||
void reserve_alloc_regions();
|
||||
virtual void reserve_alloc_regions();
|
||||
};
|
||||
|
||||
/*
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user