mirror of
https://github.com/corda/corda.git
synced 2025-03-12 15:34:58 +00:00
enter active state at start of Java_java_lang_Runtime_dumpHeap
This commit is contained in:
parent
0459a7701c
commit
e2f3e3da77
@ -590,6 +590,8 @@ Java_java_lang_Runtime_gc(Thread* t, jobject)
|
||||
extern "C" JNIEXPORT void JNICALL
|
||||
Java_java_lang_Runtime_dumpHeap(Thread* t, jclass, jstring outputFile)
|
||||
{
|
||||
ENTER(t, Thread::ActiveState);
|
||||
|
||||
unsigned length = stringLength(t, *outputFile);
|
||||
char n[length + 1];
|
||||
stringChars(t, *outputFile, n);
|
||||
|
Loading…
x
Reference in New Issue
Block a user