pmem / llpl

Low Level Persistence Library
Other
97 stars 39 forks source link

JVM crashed when creating PersistentHeap #4

Open zhengwei14 opened 3 years ago

zhengwei14 commented 3 years ago

Stack: [0x00007f9810c8d000,0x00007f9810d8d000], sp=0x00007f9810d89ff8, free space=1011k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [libpthread.so.0+0x9d00] pthread_mutex_lock+0x0

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) J 839 com.intel.pmem.llpl.AnyHeap.nativeGetRoot(J)J (0 bytes) @ 0x00007f97f9625ba1 [0x00007f97f9625b60+0x41] J 835 C1 com.intel.pmem.llpl.AnyHeap.(Ljava/lang/String;J)V (98 bytes) @ 0x00007f97f9626b14 [0x00007f97f96264c0+0x654] J 833 C1 com.intel.pmem.llpl.PersistentHeap.createHeap(Ljava/lang/String;J)Lcom/intel/pmem/llpl/PersistentHeap; (317 bytes) @ 0x00007f97f962f9ac [0x00007f97f962eaa0+0xf0c] v ~StubRoutines::call_stub

asonje commented 3 years ago

hello @zhengwei14, a few questions on your setup. are you running on the master branch? what version of PMDK do you have installed? do the LLPL tests run successfully? you can run the testsuite via "mvn test -Dtest.heap.path="

zhengwei14 commented 3 years ago

hello @zhengwei14, a few questions on your setup. are you running on the master branch? what version of PMDK do you have installed? do the LLPL tests run successfully? you can run the testsuite via "mvn test -Dtest.heap.path="

java version "1.8.0_60" Java(TM) SE Runtime Environment (build 1.8.0_60-b27) Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)

LLPL:1.1.0 release

PMDK:1.9.2

I create thousands of heaps and blocks, then JVM crashed.
by the way, why the heap.close() and Heap.deleteHeap() isn't Declared public. I can't close heap.

I used reflection to invoke the AnyHeap.close(), then it runs successfully。

zhengwei14 commented 3 years ago

thousands of heaps and blocks , about 20g