mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8080775: Better argument formatting for assert() and friends
Reviewed-by: kbarrett, pliden
This commit is contained in:
parent
aa0818a98a
commit
1e71f67736
225 changed files with 1342 additions and 1432 deletions
|
@ -48,7 +48,7 @@ inline bool ParallelScavengeHeap::is_in_young(oop p) {
|
|||
// Assumes the the old gen address range is lower than that of the young gen.
|
||||
bool result = ((HeapWord*)p) >= young_gen()->reserved().start();
|
||||
assert(result == young_gen()->is_in_reserved(p),
|
||||
err_msg("incorrect test - result=%d, p=" PTR_FORMAT, result, p2i((void*)p)));
|
||||
"incorrect test - result=%d, p=" PTR_FORMAT, result, p2i((void*)p));
|
||||
return result;
|
||||
}
|
||||
#endif // SHARE_VM_GC_PARALLEL_PARALLELSCAVENGEHEAP_INLINE_HPP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue