Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bostrt/jni_test
https://github.com/bostrt/jni_test
Last synced: 19 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/bostrt/jni_test
- Owner: bostrt
- Created: 2016-12-09T14:10:41.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-12-09T14:11:32.000Z (about 8 years ago)
- Last Synced: 2024-11-01T10:08:26.566Z (2 months ago)
- Language: Java
- Size: 1000 Bytes
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
# javac Hello.java
# javah -jni Hello
# gcc -fPIC -I. -I/usr/lib/jvm/java-1.8.0-openjdk/include/ -I/usr/lib/jvm/java-1.8.0-openjdk/include/linux/ -o libhello_native.so -shared Hello.c
# java -XX:NativeMemoryTracking=detail -Djava.library.path=. Hello# jcmd {PID} VM.native_memory detail