equal
deleted
inserted
replaced
378 // The narrow_oop_base could be NULL or be the address |
378 // The narrow_oop_base could be NULL or be the address |
379 // of the page below heap depending on compressed oops mode. |
379 // of the page below heap depending on compressed oops mode. |
380 continue; |
380 continue; |
381 } |
381 } |
382 #ifdef ASSERT |
382 #ifdef ASSERT |
383 if ((((uintptr_t)loc & (sizeof(*loc)-1)) != 0) || |
383 // We can not verify the oop here if we are using ZGC, the oop |
384 !Universe::heap()->is_in_or_null(*loc)) { |
384 // will be bad in case we had a safepoint between a load and a |
|
385 // load barrier. |
|
386 if (!UseZGC && |
|
387 ((((uintptr_t)loc & (sizeof(*loc)-1)) != 0) || |
|
388 !Universe::heap()->is_in_or_null(*loc))) { |
385 tty->print_cr("# Found non oop pointer. Dumping state at failure"); |
389 tty->print_cr("# Found non oop pointer. Dumping state at failure"); |
386 // try to dump out some helpful debugging information |
390 // try to dump out some helpful debugging information |
387 trace_codeblob_maps(fr, reg_map); |
391 trace_codeblob_maps(fr, reg_map); |
388 omv.print(); |
392 omv.print(); |
389 tty->print_cr("register r"); |
393 tty->print_cr("register r"); |