mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8027756: assert(!hr->isHumongous()) failed: code root in humongous region?
Change checks for isHumongous() to continuesHumongous() as installing a code root for a humongous object is valid, but not for continuations of humongous objects. Cleaned up asserts. Reviewed-by: jmasa, tamao
This commit is contained in:
parent
2c2fcae7df
commit
6f46da6198
4 changed files with 178 additions and 15 deletions
|
@ -1004,7 +1004,9 @@ public:
|
|||
|
||||
void HeapRegionRemSet::migrate_strong_code_roots() {
|
||||
assert(hr()->in_collection_set(), "only collection set regions");
|
||||
assert(!hr()->isHumongous(), "not humongous regions");
|
||||
assert(!hr()->isHumongous(),
|
||||
err_msg("humongous region "HR_FORMAT" should not have been added to the collection set",
|
||||
HR_FORMAT_PARAMS(hr())));
|
||||
|
||||
ResourceMark rm;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue