8278763: Parallel: Remove grows_up/grows_down in PSVirtualSpace
Reviewed-by: tschatzl, mli
This commit is contained in:
parent
aae563981c
commit
e0700bf1d4
@ -143,13 +143,9 @@ void PSVirtualSpace::verify() const {
|
||||
"bad reserved addrs");
|
||||
assert(committed_low_addr() <= committed_high_addr(), "bad committed addrs");
|
||||
|
||||
if (grows_up()) {
|
||||
assert(reserved_low_addr() == committed_low_addr(), "bad low addrs");
|
||||
assert(reserved_high_addr() >= committed_high_addr(), "bad high addrs");
|
||||
} else {
|
||||
assert(reserved_high_addr() == committed_high_addr(), "bad high addrs");
|
||||
assert(reserved_low_addr() <= committed_low_addr(), "bad low addrs");
|
||||
}
|
||||
// committed addr grows up
|
||||
assert(reserved_low_addr() == committed_low_addr(), "bad low addrs");
|
||||
assert(reserved_high_addr() >= committed_high_addr(), "bad high addrs");
|
||||
}
|
||||
|
||||
#endif // #ifndef PRODUCT
|
||||
|
@ -103,8 +103,6 @@ class PSVirtualSpace : public CHeapObj<mtGC> {
|
||||
bool is_aligned(size_t val) const;
|
||||
bool is_aligned(char* val) const;
|
||||
void verify() const;
|
||||
virtual bool grows_up() const { return true; }
|
||||
bool grows_down() const { return !grows_up(); }
|
||||
|
||||
// Helper class to verify a space when entering/leaving a block.
|
||||
class PSVirtualSpaceVerifier: public StackObj {
|
||||
|
Loading…
Reference in New Issue
Block a user