summaryrefslogtreecommitdiff
path: root/openjdkjvmti/art_jvmti.h
diff options
context:
space:
mode:
Diffstat (limited to 'openjdkjvmti/art_jvmti.h')
-rw-r--r--openjdkjvmti/art_jvmti.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/openjdkjvmti/art_jvmti.h b/openjdkjvmti/art_jvmti.h
index bc965a232f..cdda09b9e7 100644
--- a/openjdkjvmti/art_jvmti.h
+++ b/openjdkjvmti/art_jvmti.h
@@ -47,11 +47,9 @@
#include "base/strlcpy.h"
#include "base/mutex.h"
#include "events.h"
-#include "instrumentation.h"
#include "jni/java_vm_ext.h"
#include "jni/jni_env_ext.h"
#include "jvmti.h"
-#include "runtime.h"
#include "ti_breakpoint.h"
namespace art {
@@ -71,13 +69,6 @@ class ObjectTagTable;
// This is the value 0x70010200.
static constexpr jint kArtTiVersion = JVMTI_VERSION_1_2 | 0x40000000;
-// Returns whether we are able to use all jvmti features.
-static inline bool IsFullJvmtiAvailable() {
- art::Runtime* runtime = art::Runtime::Current();
- return runtime->GetInstrumentation()->IsForcedInterpretOnly() ||
- runtime->IsJavaDebuggableAtInit();
-}
-
// A structure that is a jvmtiEnv with additional information for the runtime.
struct ArtJvmTiEnv : public jvmtiEnv {
art::JavaVMExt* art_vm;