MCPcopy Create free account
hub / github.com/async-profiler/async-profiler / stopJvm

Function stopJvm

test/test/nonjava/non_java_app.cpp:183–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

181}
182
183void stopJvm() {
184 jint rc = _jvm->DestroyJavaVM();
185 if (rc != JNI_OK) {
186 std::cerr << "Failed to destroy JVM" << std::endl;
187 exit(1);
188 }
189}
190
191void validateArgsCount(int argc, int expected) {
192 if (argc < expected) {

Callers 3

testFlow1Function · 0.85
testFlow2Function · 0.85
testFlow3Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected