changeset 58015 | dd84de796f2c |
parent 54927 | 1512d88b24c6 |
child 58722 | cba8afa5cfed |
--- a/src/hotspot/share/oops/symbol.cpp Thu Sep 05 08:26:44 2019 +0200 +++ b/src/hotspot/share/oops/symbol.cpp Thu Sep 05 08:26:49 2019 +0200 @@ -394,7 +394,7 @@ if (!os::is_readable_range(s, s + 1)) return false; // Symbols are not allocated in Java heap. - if (Universe::heap()->is_in_reserved(s)) return false; + if (Universe::heap()->is_in(s)) return false; int len = s->utf8_length(); if (len < 0) return false;