changeset 58015 | dd84de796f2c |
parent 57811 | 947252a54b98 |
child 58679 | 9c3209ff7550 |
--- a/src/hotspot/share/memory/virtualspace.cpp Thu Sep 05 08:26:44 2019 +0200 +++ b/src/hotspot/share/memory/virtualspace.cpp Thu Sep 05 08:26:49 2019 +0200 @@ -637,6 +637,10 @@ } } +MemRegion ReservedHeapSpace::region() const { + return MemRegion((HeapWord*)base(), (HeapWord*)end()); +} + // Reserve space for code segment. Same as Java heap only we mark this as // executable. ReservedCodeSpace::ReservedCodeSpace(size_t r_size,