hg: tsan/dev: Fix assertion error in TsanOopSizeMap::collect_oops()

manc at google.com manc at google.com
Fri Jul 12 19:12:50 UTC 2019


Changeset: 396485470187
Author:    manc
Date:      2019-07-11 18:05 -0700
URL:       https://hg.openjdk.java.net/tsan/dev/rev/396485470187

Fix assertion error in TsanOopSizeMap::collect_oops()

The assertion check for target_oop after calling pointer_adjuster->do_oop()
is too strong. The target_oop may not point to a valid oop yet, because
the collector may move the object to target_oop later.

Reviewed-by: aeubanks, jcbeyler

! src/hotspot/share/tsan/tsanOopMap.cpp



More information about the tsan-dev mailing list