summaryrefslogtreecommitdiffstats
path: root/libsanitizer/tsan/tsan_interface_java.h
diff options
context:
space:
mode:
Diffstat (limited to 'libsanitizer/tsan/tsan_interface_java.h')
-rw-r--r--libsanitizer/tsan/tsan_interface_java.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/libsanitizer/tsan/tsan_interface_java.h b/libsanitizer/tsan/tsan_interface_java.h
index 818c07b97d4..885ff289751 100644
--- a/libsanitizer/tsan/tsan_interface_java.h
+++ b/libsanitizer/tsan/tsan_interface_java.h
@@ -32,11 +32,7 @@ extern "C" {
typedef unsigned long jptr; // NOLINT
-// Must be called before any other callback from Java, right after dlopen
-// of JVM shared lib. If libjvm_path is specified, then all interceptors
-// coming directly from JVM will be ignored.
-void __tsan_java_preinit(const char *libjvm_path) INTERFACE_ATTRIBUTE;
-// Must be called after __tsan_java_preinit but before any other callback.
+// Must be called before any other callback from Java.
void __tsan_java_init(jptr heap_begin, jptr heap_size) INTERFACE_ATTRIBUTE;
// Must be called when the application exits.
// Not necessary the last callback (concurrently running threads are OK).
OpenPOWER on IntegriCloud