1 /*
2 * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
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
7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 #ifndef _JAVASOFT_JVM_H_
26 #define _JAVASOFT_JVM_H_
27
28 // HotSpot integration note:
29 //
30 // This file and jvm.h used with the JDK are identical,
31 // except for the three includes removed below and the
32 // SUPPORT_OLD_REFLECTION sections cut out of the JDK's jvm.h.
33
34 // #include <sys/stat.h>
35 // #include "jni.h"
36 // #include "jvm_md.h"
37
38
39 #ifdef __cplusplus
40 extern "C" {
41 #endif
42
43 /*
44 * This file contains additional functions exported from the VM.
1687 jint verifyMode;
1688 char *classpath;
1689
1690 jint (JNICALL *vfprintf)(FILE *fp, const char *format, va_list args);
1691 void (JNICALL *exit)(jint code);
1692 void (JNICALL *abort)(void);
1693
1694 jint enableClassGC;
1695 jint enableVerboseGC;
1696 jint disableAsyncGC;
1697 jint verbose;
1698 jboolean debugging;
1699 jint debugPort;
1700 } JDK1_1InitArgs;
1701
1702 #ifdef __cplusplus
1703 } /* extern "C" */
1704 #endif /* __cplusplus */
1705
1706 #endif /* !_JAVASOFT_JVM_H_ */
|
1 /*
2 * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
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
7 * published by the Free Software Foundation.
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 *
23 */
24
25 #ifndef SHARE_VM_PRIMS_JVM_H
26 #define SHARE_VM_PRIMS_JVM_H
27
28 #include "prims/jni.h"
29 #include "runtime/reflectionCompat.hpp"
30 #include "utilities/globalDefinitions.hpp"
31 #ifdef TARGET_OS_FAMILY_linux
32 # include "jvm_linux.h"
33 #endif
34 #ifdef TARGET_OS_FAMILY_solaris
35 # include "jvm_solaris.h"
36 #endif
37 #ifdef TARGET_OS_FAMILY_windows
38 # include "jvm_windows.h"
39 #endif
40
41 #ifndef _JAVASOFT_JVM_H_
42 #define _JAVASOFT_JVM_H_
43
44 // HotSpot integration note:
45 //
46 // This file and jvm.h used with the JDK are identical,
47 // except for the three includes removed below and the
48 // SUPPORT_OLD_REFLECTION sections cut out of the JDK's jvm.h.
49
50 // #include <sys/stat.h>
51 // #include "jni.h"
52 // #include "jvm_md.h"
53
54
55 #ifdef __cplusplus
56 extern "C" {
57 #endif
58
59 /*
60 * This file contains additional functions exported from the VM.
1703 jint verifyMode;
1704 char *classpath;
1705
1706 jint (JNICALL *vfprintf)(FILE *fp, const char *format, va_list args);
1707 void (JNICALL *exit)(jint code);
1708 void (JNICALL *abort)(void);
1709
1710 jint enableClassGC;
1711 jint enableVerboseGC;
1712 jint disableAsyncGC;
1713 jint verbose;
1714 jboolean debugging;
1715 jint debugPort;
1716 } JDK1_1InitArgs;
1717
1718 #ifdef __cplusplus
1719 } /* extern "C" */
1720 #endif /* __cplusplus */
1721
1722 #endif /* !_JAVASOFT_JVM_H_ */
1723
1724 #endif // SHARE_VM_PRIMS_JVM_H
|