mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
8138705: Kitchen sink stress test fails
NMT now supports overlapping commits. Reviewed-by: coleenp, zgu
This commit is contained in:
parent
277d5f6f08
commit
1563e05cf0
4 changed files with 212 additions and 62 deletions
|
@ -261,8 +261,7 @@ class CommittedMemoryRegion : public VirtualMemoryRegion {
|
|||
VirtualMemoryRegion(addr, size), _stack(stack) { }
|
||||
|
||||
inline int compare(const CommittedMemoryRegion& rgn) const {
|
||||
if (overlap_region(rgn.base(), rgn.size()) ||
|
||||
adjacent_to (rgn.base(), rgn.size())) {
|
||||
if (overlap_region(rgn.base(), rgn.size())) {
|
||||
return 0;
|
||||
} else {
|
||||
if (base() == rgn.base()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue