annotate agent/src/share/classes/sun/jvm/hotspot/debugger/win32/coff/DebugVC50TypeLeafIndices.java @ 1913:3b2dea75431e

6984311: JSR 292 needs optional bootstrap method parameters Summary: Allow CONSTANT_InvokeDynamic nodes to have any number of extra operands. Reviewed-by: twisti
author jrose
date Sat, 30 Oct 2010 13:08:23 -0700
parents c18cbe5936b8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a61af66fc99e Initial load
duke
parents:
diff changeset
1 /*
1552
c18cbe5936b8 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 0
diff changeset
2 * Copyright (c) 2001, Oracle and/or its affiliates. All rights reserved.
0
a61af66fc99e Initial load
duke
parents:
diff changeset
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
a61af66fc99e Initial load
duke
parents:
diff changeset
4 *
a61af66fc99e Initial load
duke
parents:
diff changeset
5 * This code is free software; you can redistribute it and/or modify it
a61af66fc99e Initial load
duke
parents:
diff changeset
6 * under the terms of the GNU General Public License version 2 only, as
a61af66fc99e Initial load
duke
parents:
diff changeset
7 * published by the Free Software Foundation.
a61af66fc99e Initial load
duke
parents:
diff changeset
8 *
a61af66fc99e Initial load
duke
parents:
diff changeset
9 * This code is distributed in the hope that it will be useful, but WITHOUT
a61af66fc99e Initial load
duke
parents:
diff changeset
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
a61af66fc99e Initial load
duke
parents:
diff changeset
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
a61af66fc99e Initial load
duke
parents:
diff changeset
12 * version 2 for more details (a copy is included in the LICENSE file that
a61af66fc99e Initial load
duke
parents:
diff changeset
13 * accompanied this code).
a61af66fc99e Initial load
duke
parents:
diff changeset
14 *
a61af66fc99e Initial load
duke
parents:
diff changeset
15 * You should have received a copy of the GNU General Public License version
a61af66fc99e Initial load
duke
parents:
diff changeset
16 * 2 along with this work; if not, write to the Free Software Foundation,
a61af66fc99e Initial load
duke
parents:
diff changeset
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
a61af66fc99e Initial load
duke
parents:
diff changeset
18 *
1552
c18cbe5936b8 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 0
diff changeset
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
c18cbe5936b8 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 0
diff changeset
20 * or visit www.oracle.com if you need additional information or have any
c18cbe5936b8 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 0
diff changeset
21 * questions.
0
a61af66fc99e Initial load
duke
parents:
diff changeset
22 *
a61af66fc99e Initial load
duke
parents:
diff changeset
23 */
a61af66fc99e Initial load
duke
parents:
diff changeset
24
a61af66fc99e Initial load
duke
parents:
diff changeset
25 package sun.jvm.hotspot.debugger.win32.coff;
a61af66fc99e Initial load
duke
parents:
diff changeset
26
a61af66fc99e Initial load
duke
parents:
diff changeset
27 /** <P> Enumerates the leaf indices referenced in type strings
a61af66fc99e Initial load
duke
parents:
diff changeset
28 contained in the {@link
a61af66fc99e Initial load
duke
parents:
diff changeset
29 sun.jvm.hotspot.debugger.win32.coff.DebugVC50SSGlobalTypes}
a61af66fc99e Initial load
duke
parents:
diff changeset
30 subsection. (Some of the descriptions are taken directly from
a61af66fc99e Initial load
duke
parents:
diff changeset
31 Microsoft's documentation and are copyrighted by Microsoft.) </P>
a61af66fc99e Initial load
duke
parents:
diff changeset
32
a61af66fc99e Initial load
duke
parents:
diff changeset
33 <P> NOTE that these indices are specified as integers rather than
a61af66fc99e Initial load
duke
parents:
diff changeset
34 short integers; this is to make comparisons and switches simpler
a61af66fc99e Initial load
duke
parents:
diff changeset
35 because of Java's automatic sign extension. </P> */
a61af66fc99e Initial load
duke
parents:
diff changeset
36
a61af66fc99e Initial load
duke
parents:
diff changeset
37 public interface DebugVC50TypeLeafIndices {
a61af66fc99e Initial load
duke
parents:
diff changeset
38
a61af66fc99e Initial load
duke
parents:
diff changeset
39 //
a61af66fc99e Initial load
duke
parents:
diff changeset
40 // Leaf indices for type records that can be referenced from symbols:
a61af66fc99e Initial load
duke
parents:
diff changeset
41 //
a61af66fc99e Initial load
duke
parents:
diff changeset
42
a61af66fc99e Initial load
duke
parents:
diff changeset
43 public static final int LF_MODIFIER = 0x1001;
a61af66fc99e Initial load
duke
parents:
diff changeset
44 public static final int LF_POINTER = 0x1002;
a61af66fc99e Initial load
duke
parents:
diff changeset
45 public static final int LF_ARRAY = 0x1003;
a61af66fc99e Initial load
duke
parents:
diff changeset
46 public static final int LF_CLASS = 0x1004;
a61af66fc99e Initial load
duke
parents:
diff changeset
47 public static final int LF_STRUCTURE = 0x1005;
a61af66fc99e Initial load
duke
parents:
diff changeset
48 public static final int LF_UNION = 0x1006;
a61af66fc99e Initial load
duke
parents:
diff changeset
49 public static final int LF_ENUM = 0x1007;
a61af66fc99e Initial load
duke
parents:
diff changeset
50 public static final int LF_PROCEDURE = 0x1008;
a61af66fc99e Initial load
duke
parents:
diff changeset
51 public static final int LF_MFUNCTION = 0x1009;
a61af66fc99e Initial load
duke
parents:
diff changeset
52 public static final int LF_VTSHAPE = 0x000a;
a61af66fc99e Initial load
duke
parents:
diff changeset
53 public static final int LF_COBOL0 = 0x100a;
a61af66fc99e Initial load
duke
parents:
diff changeset
54 public static final int LF_COBOL1 = 0x000c;
a61af66fc99e Initial load
duke
parents:
diff changeset
55 public static final int LF_BARRAY = 0x100b;
a61af66fc99e Initial load
duke
parents:
diff changeset
56 public static final int LF_LABEL = 0x000e;
a61af66fc99e Initial load
duke
parents:
diff changeset
57 public static final int LF_NULL = 0x000f;
a61af66fc99e Initial load
duke
parents:
diff changeset
58 public static final int LF_NOTTRAN = 0x0010;
a61af66fc99e Initial load
duke
parents:
diff changeset
59 public static final int LF_DIMARRAY = 0x100c;
a61af66fc99e Initial load
duke
parents:
diff changeset
60 public static final int LF_VFTPATH = 0x100d;
a61af66fc99e Initial load
duke
parents:
diff changeset
61 public static final int LF_PRECOMP = 0x100e;
a61af66fc99e Initial load
duke
parents:
diff changeset
62 public static final int LF_ENDPRECOMP = 0x0014;
a61af66fc99e Initial load
duke
parents:
diff changeset
63 public static final int LF_OEM = 0x100f;
a61af66fc99e Initial load
duke
parents:
diff changeset
64 public static final int LF_TYPESERVER = 0x0016;
a61af66fc99e Initial load
duke
parents:
diff changeset
65
a61af66fc99e Initial load
duke
parents:
diff changeset
66 //
a61af66fc99e Initial load
duke
parents:
diff changeset
67 // Leaf indices for type records that can be referenced from other type records:
a61af66fc99e Initial load
duke
parents:
diff changeset
68 //
a61af66fc99e Initial load
duke
parents:
diff changeset
69
a61af66fc99e Initial load
duke
parents:
diff changeset
70 public static final int LF_SKIP = 0x1200;
a61af66fc99e Initial load
duke
parents:
diff changeset
71 public static final int LF_ARGLIST = 0x1201;
a61af66fc99e Initial load
duke
parents:
diff changeset
72 public static final int LF_DEFARG = 0x1202;
a61af66fc99e Initial load
duke
parents:
diff changeset
73 public static final int LF_FIELDLIST = 0x1203;
a61af66fc99e Initial load
duke
parents:
diff changeset
74 public static final int LF_DERIVED = 0x1204;
a61af66fc99e Initial load
duke
parents:
diff changeset
75 public static final int LF_BITFIELD = 0x1205;
a61af66fc99e Initial load
duke
parents:
diff changeset
76 public static final int LF_METHODLIST = 0x1206;
a61af66fc99e Initial load
duke
parents:
diff changeset
77 public static final int LF_DIMCONU = 0x1207;
a61af66fc99e Initial load
duke
parents:
diff changeset
78 public static final int LF_DIMCONLU = 0x1208;
a61af66fc99e Initial load
duke
parents:
diff changeset
79 public static final int LF_DIMVARU = 0x1209;
a61af66fc99e Initial load
duke
parents:
diff changeset
80 public static final int LF_DIMVARLU = 0x120a;
a61af66fc99e Initial load
duke
parents:
diff changeset
81 public static final int LF_REFSYM = 0x020c;
a61af66fc99e Initial load
duke
parents:
diff changeset
82
a61af66fc99e Initial load
duke
parents:
diff changeset
83 //
a61af66fc99e Initial load
duke
parents:
diff changeset
84 // Leaf indices for fields of complex lists:
a61af66fc99e Initial load
duke
parents:
diff changeset
85 //
a61af66fc99e Initial load
duke
parents:
diff changeset
86
a61af66fc99e Initial load
duke
parents:
diff changeset
87 public static final int LF_BCLASS = 0x1400;
a61af66fc99e Initial load
duke
parents:
diff changeset
88 public static final int LF_VBCLASS = 0x1401;
a61af66fc99e Initial load
duke
parents:
diff changeset
89 public static final int LF_IVBCLASS = 0x1402;
a61af66fc99e Initial load
duke
parents:
diff changeset
90 public static final int LF_ENUMERATE = 0x0403;
a61af66fc99e Initial load
duke
parents:
diff changeset
91 public static final int LF_FRIENDFCN = 0x1403;
a61af66fc99e Initial load
duke
parents:
diff changeset
92 public static final int LF_INDEX = 0x1404;
a61af66fc99e Initial load
duke
parents:
diff changeset
93 public static final int LF_MEMBER = 0x1405;
a61af66fc99e Initial load
duke
parents:
diff changeset
94 public static final int LF_STMEMBER = 0x1406;
a61af66fc99e Initial load
duke
parents:
diff changeset
95 public static final int LF_METHOD = 0x1407;
a61af66fc99e Initial load
duke
parents:
diff changeset
96 public static final int LF_NESTTYPE = 0x1408;
a61af66fc99e Initial load
duke
parents:
diff changeset
97 public static final int LF_VFUNCTAB = 0x1409;
a61af66fc99e Initial load
duke
parents:
diff changeset
98 public static final int LF_FRIENDCLS = 0x140a;
a61af66fc99e Initial load
duke
parents:
diff changeset
99 public static final int LF_ONEMETHOD = 0x140b;
a61af66fc99e Initial load
duke
parents:
diff changeset
100 public static final int LF_VFUNCOFF = 0x140c;
a61af66fc99e Initial load
duke
parents:
diff changeset
101 public static final int LF_NESTTYPEEX = 0x140d;
a61af66fc99e Initial load
duke
parents:
diff changeset
102 public static final int LF_MEMBERMODIFY = 0x140e;
a61af66fc99e Initial load
duke
parents:
diff changeset
103
a61af66fc99e Initial load
duke
parents:
diff changeset
104 //
a61af66fc99e Initial load
duke
parents:
diff changeset
105 // Leaf indices for numeric fields of symbols and type records:
a61af66fc99e Initial load
duke
parents:
diff changeset
106 //
a61af66fc99e Initial load
duke
parents:
diff changeset
107
a61af66fc99e Initial load
duke
parents:
diff changeset
108 public static final int LF_NUMERIC = 0x8000;
a61af66fc99e Initial load
duke
parents:
diff changeset
109 public static final int LF_CHAR = 0x8000;
a61af66fc99e Initial load
duke
parents:
diff changeset
110 public static final int LF_SHORT = 0x8001;
a61af66fc99e Initial load
duke
parents:
diff changeset
111 public static final int LF_USHORT = 0x8002;
a61af66fc99e Initial load
duke
parents:
diff changeset
112 public static final int LF_LONG = 0x8003;
a61af66fc99e Initial load
duke
parents:
diff changeset
113 public static final int LF_ULONG = 0x8004;
a61af66fc99e Initial load
duke
parents:
diff changeset
114 public static final int LF_REAL32 = 0x8005;
a61af66fc99e Initial load
duke
parents:
diff changeset
115 public static final int LF_REAL64 = 0x8006;
a61af66fc99e Initial load
duke
parents:
diff changeset
116 public static final int LF_REAL80 = 0x8007;
a61af66fc99e Initial load
duke
parents:
diff changeset
117 public static final int LF_REAL128 = 0x8008;
a61af66fc99e Initial load
duke
parents:
diff changeset
118 public static final int LF_QUADWORD = 0x8009;
a61af66fc99e Initial load
duke
parents:
diff changeset
119 public static final int LF_UQUADWORD = 0x800a;
a61af66fc99e Initial load
duke
parents:
diff changeset
120 public static final int LF_REAL48 = 0x800b;
a61af66fc99e Initial load
duke
parents:
diff changeset
121 public static final int LF_COMPLEX32 = 0x800c;
a61af66fc99e Initial load
duke
parents:
diff changeset
122 public static final int LF_COMPLEX64 = 0x800d;
a61af66fc99e Initial load
duke
parents:
diff changeset
123 public static final int LF_COMPLEX80 = 0x800e;
a61af66fc99e Initial load
duke
parents:
diff changeset
124 public static final int LF_COMPLEX128 = 0x800f;
a61af66fc99e Initial load
duke
parents:
diff changeset
125 public static final int LF_VARSTRING = 0x8010;
a61af66fc99e Initial load
duke
parents:
diff changeset
126
a61af66fc99e Initial load
duke
parents:
diff changeset
127 public static final int LF_PAD0 = 0xf0;
a61af66fc99e Initial load
duke
parents:
diff changeset
128 public static final int LF_PAD1 = 0xf1;
a61af66fc99e Initial load
duke
parents:
diff changeset
129 public static final int LF_PAD2 = 0xf2;
a61af66fc99e Initial load
duke
parents:
diff changeset
130 public static final int LF_PAD3 = 0xf3;
a61af66fc99e Initial load
duke
parents:
diff changeset
131 public static final int LF_PAD4 = 0xf4;
a61af66fc99e Initial load
duke
parents:
diff changeset
132 public static final int LF_PAD5 = 0xf5;
a61af66fc99e Initial load
duke
parents:
diff changeset
133 public static final int LF_PAD6 = 0xf6;
a61af66fc99e Initial load
duke
parents:
diff changeset
134 public static final int LF_PAD7 = 0xf7;
a61af66fc99e Initial load
duke
parents:
diff changeset
135 public static final int LF_PAD8 = 0xf8;
a61af66fc99e Initial load
duke
parents:
diff changeset
136 public static final int LF_PAD9 = 0xf9;
a61af66fc99e Initial load
duke
parents:
diff changeset
137 public static final int LF_PAD10 = 0xfa;
a61af66fc99e Initial load
duke
parents:
diff changeset
138 public static final int LF_PAD11 = 0xfb;
a61af66fc99e Initial load
duke
parents:
diff changeset
139 public static final int LF_PAD12 = 0xfc;
a61af66fc99e Initial load
duke
parents:
diff changeset
140 public static final int LF_PAD13 = 0xfd;
a61af66fc99e Initial load
duke
parents:
diff changeset
141 public static final int LF_PAD14 = 0xfe;
a61af66fc99e Initial load
duke
parents:
diff changeset
142 public static final int LF_PAD15 = 0xff;
a61af66fc99e Initial load
duke
parents:
diff changeset
143 }