mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-04 07:28:22 +00:00
Merge
This commit is contained in:
commit
4550ca8d71
@ -100,6 +100,11 @@ PERF_ENTRY(void, Perf_Detach(JNIEnv *env, jobject unused, jobject buffer))
|
||||
|
||||
PerfWrapper("Perf_Detach");
|
||||
|
||||
if (!UsePerfData) {
|
||||
// With -XX:-UsePerfData, detach is just a NOP
|
||||
return;
|
||||
}
|
||||
|
||||
void* address = 0;
|
||||
jlong capacity = 0;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user