Mercurial > hg > graal-jvmci-8
comparison src/share/vm/prims/jvmtiEnvBase.hpp @ 1988:684faacebf20
7003782: Update JVMTI version to 1.2 for jdk7
Summary: Update minor version to 1.2 for jdk7
Reviewed-by: phh, dcubed
author | kamg |
---|---|
date | Mon, 06 Dec 2010 20:21:15 -0500 |
parents | f95d63e2154a |
children | e6b1331a51d2 |
comparison
equal
deleted
inserted
replaced
1987:42f65821fa4e | 1988:684faacebf20 |
---|---|
64 | 64 |
65 public: | 65 public: |
66 | 66 |
67 enum { | 67 enum { |
68 JDK15_JVMTI_VERSION = JVMTI_VERSION_1_0 + 33, /* version: 1.0.33 */ | 68 JDK15_JVMTI_VERSION = JVMTI_VERSION_1_0 + 33, /* version: 1.0.33 */ |
69 JDK16_JVMTI_VERSION = JVMTI_VERSION_1_1 + 102 /* version: 1.1.102 */ | 69 JDK16_JVMTI_VERSION = JVMTI_VERSION_1_1 + 102, /* version: 1.1.102 */ |
70 JDK17_JVMTI_VERSION = JVMTI_VERSION_1_2 + 1 /* version: 1.2.1 */ | |
70 }; | 71 }; |
71 | 72 |
72 static jvmtiPhase get_phase() { return _phase; } | 73 static jvmtiPhase get_phase() { return _phase; } |
73 static void set_phase(jvmtiPhase phase) { _phase = phase; } | 74 static void set_phase(jvmtiPhase phase) { _phase = phase; } |
74 static bool is_vm_live() { return _phase == JVMTI_PHASE_LIVE; } | 75 static bool is_vm_live() { return _phase == JVMTI_PHASE_LIVE; } |
134 | 135 |
135 bool is_valid(); | 136 bool is_valid(); |
136 | 137 |
137 bool use_version_1_0_semantics(); // agent asked for version 1.0 | 138 bool use_version_1_0_semantics(); // agent asked for version 1.0 |
138 bool use_version_1_1_semantics(); // agent asked for version 1.1 | 139 bool use_version_1_1_semantics(); // agent asked for version 1.1 |
140 bool use_version_1_2_semantics(); // agent asked for version 1.2 | |
139 | 141 |
140 bool is_retransformable() { return _is_retransformable; } | 142 bool is_retransformable() { return _is_retransformable; } |
141 | 143 |
142 static ByteSize jvmti_external_offset() { | 144 static ByteSize jvmti_external_offset() { |
143 return byte_offset_of(JvmtiEnvBase, _jvmti_external); | 145 return byte_offset_of(JvmtiEnvBase, _jvmti_external); |