Skip to content

Commit 0bacc69

Browse files
committedJun 18, 2020
8247860: Shenandoah: add update watermark line in rich assert failure message
Reviewed-by: rkennke
1 parent 2627f15 commit 0bacc69

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎src/hotspot/share/gc/shenandoah/shenandoahAsserts.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ void ShenandoahAsserts::print_obj(ShenandoahMessageBuffer& msg, oop obj) {
6767

6868
msg.append(" " PTR_FORMAT " - klass " PTR_FORMAT " %s\n", p2i(obj), p2i(obj->klass()), obj->klass()->external_name());
6969
msg.append(" %3s allocated after mark start\n", ctx->allocated_after_mark_start(obj) ? "" : "not");
70+
msg.append(" %3s after update watermark\n", cast_from_oop<HeapWord*>(obj) >= r->get_update_watermark() ? "" : "not");
7071
msg.append(" %3s marked \n", ctx->is_marked(obj) ? "" : "not");
7172
msg.append(" %3s in collection set\n", heap->in_collection_set(obj) ? "" : "not");
7273
msg.append(" mark:%s\n", mw_ss.as_string());

0 commit comments

Comments
 (0)
Please sign in to comment.