comparison src/share/vm/prims/jniCheck.hpp @ 7951:8b46b0196eb0

8000692: Remove old KERNEL code Summary: Removed depreciated kernel VM source code from hotspot VM Reviewed-by: dholmes, acorn
author zgu
date Fri, 25 Jan 2013 10:04:08 -0500
parents da91efe96a93
children cc32ccaaf47f
comparison
equal deleted inserted replaced
7950:6cf2530f7fd3 7951:8b46b0196eb0
1 /* 1 /*
2 * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 2003, 2013, Oracle and/or its affiliates. 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.
23 */ 23 */
24 24
25 #ifndef SHARE_VM_PRIMS_JNICHECK_HPP 25 #ifndef SHARE_VM_PRIMS_JNICHECK_HPP
26 #define SHARE_VM_PRIMS_JNICHECK_HPP 26 #define SHARE_VM_PRIMS_JNICHECK_HPP
27 27
28 #ifndef KERNEL
29 #include "runtime/thread.hpp" 28 #include "runtime/thread.hpp"
30 #endif
31 29
32 extern "C" { 30 extern "C" {
33 // Report a JNI failure caught by -Xcheck:jni. Perform a core dump. 31 // Report a JNI failure caught by -Xcheck:jni. Perform a core dump.
34 // Note: two variations -- one to be called when in VM state (e.g. when 32 // Note: two variations -- one to be called when in VM state (e.g. when
35 // within IN_VM macro), one to be called when in NATIVE state. 33 // within IN_VM macro), one to be called when in NATIVE state.