hg: tsan/dev: Use TSAN_RUNTIME_ONLY for most instrumentation.

manc at google.com manc at google.com
Mon May 6 22:34:59 UTC 2019


Changeset: f94cc4cf247f
Author:    manc
Date:      2019-05-05 19:21 -0700
URL:       http://hg.openjdk.java.net/tsan/dev/rev/f94cc4cf247f

Use TSAN_RUNTIME_ONLY for most instrumentation.

This fixes build error using --with-jvm-features=-tsan,
and reduces boilerplate code for instrumentation.

Also simplified oopDesc:is_oop() uses and updated a comment.

Reviewed-by: jcbeyler, aeubanks

! src/hotspot/cpu/x86/interp_masm_x86.cpp
! src/hotspot/cpu/x86/sharedRuntime_x86_64.cpp
! src/hotspot/share/classfile/systemDictionary.cpp
! src/hotspot/share/prims/jvm.cpp
! src/hotspot/share/prims/jvmtiEnv.cpp
! src/hotspot/share/prims/jvmtiRawMonitor.cpp
! src/hotspot/share/prims/jvmtiTagMap.cpp
! src/hotspot/share/runtime/arguments.cpp
! src/hotspot/share/runtime/init.cpp
! src/hotspot/share/runtime/sharedRuntime.cpp
! src/hotspot/share/runtime/synchronizer.cpp
! src/hotspot/share/tsan/tsan.hpp
! src/hotspot/share/tsan/tsanExternalDecls.hpp
! src/hotspot/share/utilities/macros.hpp



More information about the tsan-dev mailing list