mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
8055007: NMT2: emptyStack missing in minimal build
Refactored emptyStack to a static member of NativeCallStack, which is accessible in minimal build. Reviewed-by: coleenp, dholmes
This commit is contained in:
parent
1fec07f4bf
commit
e672087234
8 changed files with 17 additions and 14 deletions
|
@ -167,7 +167,7 @@ bool ReservedMemoryRegion::remove_uncommitted_region(address addr, size_t sz) {
|
|||
// higher part
|
||||
address high_base = addr + sz;
|
||||
size_t high_size = top - high_base;
|
||||
CommittedMemoryRegion high_rgn(high_base, high_size, emptyStack);
|
||||
CommittedMemoryRegion high_rgn(high_base, high_size, NativeCallStack::EMPTY_STACK);
|
||||
return add_committed_region(high_rgn);
|
||||
} else {
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue