mirror of
https://github.com/corda/corda.git
synced 2025-06-06 09:21:47 +00:00
fix heapdump build
This commit is contained in:
parent
9550eca866
commit
27f35bf239
@ -711,7 +711,7 @@ Avian_avian_Machine_dumpHeap
|
|||||||
unsigned length = stringLength(t, outputFile);
|
unsigned length = stringLength(t, outputFile);
|
||||||
char n[length + 1];
|
char n[length + 1];
|
||||||
stringChars(t, outputFile, n);
|
stringChars(t, outputFile, n);
|
||||||
FILE* out = fopen(n, "wb");
|
FILE* out = vm::fopen(n, "wb");
|
||||||
if (out) {
|
if (out) {
|
||||||
{ ENTER(t, Thread::ExclusiveState);
|
{ ENTER(t, Thread::ExclusiveState);
|
||||||
dumpHeap(t, out);
|
dumpHeap(t, out);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user