Mercurial > hg > graal-jvmci-8
comparison src/share/vm/prims/jvmtiExport.hpp @ 1121:98cd9901c161
6849968: 3/2 JVMTI tests fails on jdk5.0 with hs14
Summary: If a JVMTI agent asks for version 1.0, then it should get version 1.0 semantics.
Reviewed-by: dholmes, ohair
author | dcubed |
---|---|
date | Mon, 14 Dec 2009 10:05:36 -0700 |
parents | a61af66fc99e |
children | 6deeaebad47a |
comparison
equal
deleted
inserted
replaced
1120:9127aa69352e | 1121:98cd9901c161 |
---|---|
1 /* | 1 /* |
2 * Copyright 1998-2006 Sun Microsystems, Inc. All Rights Reserved. | 2 * Copyright 1998-2009 Sun Microsystems, Inc. All Rights Reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * | 4 * |
5 * This code is free software; you can redistribute it and/or modify it | 5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as | 6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
234 // ----------------- | 234 // ----------------- |
235 | 235 |
236 static bool is_jvmti_version(jint version) { return (version & JVMTI_VERSION_MASK) == JVMTI_VERSION_VALUE; } | 236 static bool is_jvmti_version(jint version) { return (version & JVMTI_VERSION_MASK) == JVMTI_VERSION_VALUE; } |
237 static bool is_jvmdi_version(jint version) { return (version & JVMTI_VERSION_MASK) == JVMDI_VERSION_VALUE; } | 237 static bool is_jvmdi_version(jint version) { return (version & JVMTI_VERSION_MASK) == JVMDI_VERSION_VALUE; } |
238 static jint get_jvmti_interface(JavaVM *jvm, void **penv, jint version); | 238 static jint get_jvmti_interface(JavaVM *jvm, void **penv, jint version); |
239 static void decode_version_values(jint version, int * major, int * minor, | |
240 int * micro); | |
239 | 241 |
240 // single stepping management methods | 242 // single stepping management methods |
241 static void at_single_stepping_point(JavaThread *thread, methodOop method, address location) KERNEL_RETURN; | 243 static void at_single_stepping_point(JavaThread *thread, methodOop method, address location) KERNEL_RETURN; |
242 static void expose_single_stepping(JavaThread *thread) KERNEL_RETURN; | 244 static void expose_single_stepping(JavaThread *thread) KERNEL_RETURN; |
243 static bool hide_single_stepping(JavaThread *thread) KERNEL_RETURN_(return false;); | 245 static bool hide_single_stepping(JavaThread *thread) KERNEL_RETURN_(return false;); |