summaryrefslogtreecommitdiffstats
path: root/libsanitizer/tsan/tsan_interface_java.h
diff options
context:
space:
mode:
authorkcc <kcc@138bc75d-0d04-0410-961f-82ee72b054a4>2013-12-05 09:18:38 +0000
committerkcc <kcc@138bc75d-0d04-0410-961f-82ee72b054a4>2013-12-05 09:18:38 +0000
commit4fc7b5acfc1d42a0701c8fff726a3ebe7f563dd9 (patch)
tree20d85354103063e38b162a6a90b7ae51fb4b6104 /libsanitizer/tsan/tsan_interface_java.h
parent50e6c257ee5ad435e3a736a1375ccc7639fd9244 (diff)
downloadppe42-gcc-4fc7b5acfc1d42a0701c8fff726a3ebe7f563dd9.tar.gz
ppe42-gcc-4fc7b5acfc1d42a0701c8fff726a3ebe7f563dd9.zip
libsanitizer merge from upstream r196090
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205695 138bc75d-0d04-0410-961f-82ee72b054a4
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