mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
6845368: large objects cause a crash or unexpected exception
Reviewed-by: jmasa, iveresov
This commit is contained in:
parent
662adda5e6
commit
e7c70c499b
10 changed files with 65640 additions and 65 deletions
|
@ -407,7 +407,7 @@ void instanceRefKlass::update_nonstatic_oop_maps(klassOop k) {
|
|||
// Check that the current map is (2,4) - currently points at field with
|
||||
// offset 2 (words) and has 4 map entries.
|
||||
debug_only(int offset = java_lang_ref_Reference::referent_offset);
|
||||
debug_only(int count = ((java_lang_ref_Reference::discovered_offset -
|
||||
debug_only(unsigned int count = ((java_lang_ref_Reference::discovered_offset -
|
||||
java_lang_ref_Reference::referent_offset)/heapOopSize) + 1);
|
||||
|
||||
if (UseSharedSpaces) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue