Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JVM crashed when creating PersistentHeap #4

Open
zhengwei14 opened this issue Nov 23, 2020 · 3 comments
Open

JVM crashed when creating PersistentHeap #4

zhengwei14 opened this issue Nov 23, 2020 · 3 comments

Comments

@zhengwei14
Copy link

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
Copy link
Contributor

asonje commented Nov 23, 2020

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
Copy link
Author

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
Copy link
Author

thousands of heaps and blocks , about 20g

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants