equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 2014, 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. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
141 /* Should match what is allowed in globals.hpp */ |
141 /* Should match what is allowed in globals.hpp */ |
142 typedef enum { |
142 typedef enum { |
143 JMM_VMGLOBAL_TYPE_UNKNOWN = 0, |
143 JMM_VMGLOBAL_TYPE_UNKNOWN = 0, |
144 JMM_VMGLOBAL_TYPE_JBOOLEAN = 1, |
144 JMM_VMGLOBAL_TYPE_JBOOLEAN = 1, |
145 JMM_VMGLOBAL_TYPE_JSTRING = 2, |
145 JMM_VMGLOBAL_TYPE_JSTRING = 2, |
146 JMM_VMGLOBAL_TYPE_JLONG = 3 |
146 JMM_VMGLOBAL_TYPE_JLONG = 3, |
|
147 JMM_VMGLOBAL_TYPE_JDOUBLE = 4 |
147 } jmmVMGlobalType; |
148 } jmmVMGlobalType; |
148 |
149 |
149 typedef enum { |
150 typedef enum { |
150 JMM_VMGLOBAL_ORIGIN_DEFAULT = 1, /* Default value */ |
151 JMM_VMGLOBAL_ORIGIN_DEFAULT = 1, /* Default value */ |
151 JMM_VMGLOBAL_ORIGIN_COMMAND_LINE = 2, /* Set at command line (or JNI invocation) */ |
152 JMM_VMGLOBAL_ORIGIN_COMMAND_LINE = 2, /* Set at command line (or JNI invocation) */ |