mirror of
https://github.com/async-profiler/async-profiler.git
synced 2026-06-16 02:55:57 +00:00
19 lines
345 B
C++
19 lines
345 B
C++
/*
|
|
* Copyright The async-profiler authors
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#ifndef _JAVAAPI_H
|
|
#define _JAVAAPI_H
|
|
|
|
#include <jvmti.h>
|
|
|
|
|
|
class JavaAPI {
|
|
public:
|
|
static void registerNatives(jvmtiEnv* jvmti, JNIEnv* jni);
|
|
static bool startHttpServer(jvmtiEnv* jvmti, JNIEnv* jni, const char* address);
|
|
};
|
|
|
|
#endif // _JAVAAPI_H
|