equal
deleted
inserted
replaced
405 OopMapBlock* map = ik->start_of_nonstatic_oop_maps(); |
405 OopMapBlock* map = ik->start_of_nonstatic_oop_maps(); |
406 |
406 |
407 // Check that the current map is (2,4) - currently points at field with |
407 // Check that the current map is (2,4) - currently points at field with |
408 // offset 2 (words) and has 4 map entries. |
408 // offset 2 (words) and has 4 map entries. |
409 debug_only(int offset = java_lang_ref_Reference::referent_offset); |
409 debug_only(int offset = java_lang_ref_Reference::referent_offset); |
410 debug_only(int count = ((java_lang_ref_Reference::discovered_offset - |
410 debug_only(unsigned int count = ((java_lang_ref_Reference::discovered_offset - |
411 java_lang_ref_Reference::referent_offset)/heapOopSize) + 1); |
411 java_lang_ref_Reference::referent_offset)/heapOopSize) + 1); |
412 |
412 |
413 if (UseSharedSpaces) { |
413 if (UseSharedSpaces) { |
414 assert(map->offset() == java_lang_ref_Reference::queue_offset && |
414 assert(map->offset() == java_lang_ref_Reference::queue_offset && |
415 map->count() == 1, "just checking"); |
415 map->count() == 1, "just checking"); |