mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-17 19:33:18 +00:00
8292544: G1: Remove virtual specifier for methods in G1EdenRegions and G1SurvivorRegions
Reviewed-by: lkorinth, tschatzl
This commit is contained in:
parent
f2773f6404
commit
d00e7b92b4
@ -41,7 +41,7 @@ private:
|
||||
public:
|
||||
G1EdenRegions() : _length(0), _used_bytes(0), _regions_on_node() { }
|
||||
|
||||
virtual uint add(HeapRegion* hr) {
|
||||
uint add(HeapRegion* hr) {
|
||||
assert(!hr->is_eden(), "should not already be set");
|
||||
_length++;
|
||||
return _regions_on_node.add(hr);
|
||||
|
||||
@ -41,7 +41,7 @@ private:
|
||||
public:
|
||||
G1SurvivorRegions();
|
||||
|
||||
virtual uint add(HeapRegion* hr);
|
||||
uint add(HeapRegion* hr);
|
||||
|
||||
void convert_to_eden();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user