annotate src/share/vm/opto/output.hpp @ 9126:bc26f978b0ce

HotSpotResolvedObjectType: implement hasFinalizeSubclass() correctly don't use the (wrong) cached value, but ask the runtime on each request. Fixes regression on xml.* benchmarks @ specjvm2008. The problem was: After the constructor of Object was deoptimized due to an assumption violation, it was recompiled again after some time. However, on recompilation, the value of hasFinalizeSubclass for the class was not updated and it was compiled again with a, now wrong, assumption, which then triggers deoptimization again. This was repeated until it hit the recompilation limit (defined by PerMethodRecompilationCutoff), and therefore only executed by the interpreter from now on, causing the performance regression.
author Bernhard Urban <bernhard.urban@jku.at>
date Mon, 15 Apr 2013 19:54:58 +0200
parents 1d1603768966
children d1034bd8cefc d2907f74462e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a61af66fc99e Initial load
duke
parents:
diff changeset
1 /*
2426
1d1603768966 7010070: Update all 2010 Oracle-changed OpenJDK files to have the proper copyright dates - second pass
trims
parents: 2192
diff changeset
2 * Copyright (c) 2000, 2011, 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
1972
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents: 1552
diff changeset
25 #ifndef SHARE_VM_OPTO_OUTPUT_HPP
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents: 1552
diff changeset
26 #define SHARE_VM_OPTO_OUTPUT_HPP
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents: 1552
diff changeset
27
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents: 1552
diff changeset
28 #include "opto/block.hpp"
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents: 1552
diff changeset
29 #include "opto/node.hpp"
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents: 1552
diff changeset
30 #ifdef TARGET_ARCH_MODEL_x86_32
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents: 1552
diff changeset
31 # include "adfiles/ad_x86_32.hpp"
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents: 1552
diff changeset
32 #endif
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents: 1552
diff changeset
33 #ifdef TARGET_ARCH_MODEL_x86_64
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents: 1552
diff changeset
34 # include "adfiles/ad_x86_64.hpp"
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents: 1552
diff changeset
35 #endif
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents: 1552
diff changeset
36 #ifdef TARGET_ARCH_MODEL_sparc
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents: 1552
diff changeset
37 # include "adfiles/ad_sparc.hpp"
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents: 1552
diff changeset
38 #endif
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents: 1552
diff changeset
39 #ifdef TARGET_ARCH_MODEL_zero
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents: 1552
diff changeset
40 # include "adfiles/ad_zero.hpp"
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents: 1552
diff changeset
41 #endif
2192
b92c45f2bc75 7016023: Enable building ARM and PPC from src/closed repository
bobv
parents: 1972
diff changeset
42 #ifdef TARGET_ARCH_MODEL_arm
b92c45f2bc75 7016023: Enable building ARM and PPC from src/closed repository
bobv
parents: 1972
diff changeset
43 # include "adfiles/ad_arm.hpp"
b92c45f2bc75 7016023: Enable building ARM and PPC from src/closed repository
bobv
parents: 1972
diff changeset
44 #endif
b92c45f2bc75 7016023: Enable building ARM and PPC from src/closed repository
bobv
parents: 1972
diff changeset
45 #ifdef TARGET_ARCH_MODEL_ppc
b92c45f2bc75 7016023: Enable building ARM and PPC from src/closed repository
bobv
parents: 1972
diff changeset
46 # include "adfiles/ad_ppc.hpp"
b92c45f2bc75 7016023: Enable building ARM and PPC from src/closed repository
bobv
parents: 1972
diff changeset
47 #endif
1972
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents: 1552
diff changeset
48
0
a61af66fc99e Initial load
duke
parents:
diff changeset
49 class Arena;
a61af66fc99e Initial load
duke
parents:
diff changeset
50 class Bundle;
a61af66fc99e Initial load
duke
parents:
diff changeset
51 class Block;
a61af66fc99e Initial load
duke
parents:
diff changeset
52 class Block_Array;
a61af66fc99e Initial load
duke
parents:
diff changeset
53 class Node;
a61af66fc99e Initial load
duke
parents:
diff changeset
54 class Node_Array;
a61af66fc99e Initial load
duke
parents:
diff changeset
55 class Node_List;
a61af66fc99e Initial load
duke
parents:
diff changeset
56 class PhaseCFG;
a61af66fc99e Initial load
duke
parents:
diff changeset
57 class PhaseChaitin;
a61af66fc99e Initial load
duke
parents:
diff changeset
58 class Pipeline_Use_Element;
a61af66fc99e Initial load
duke
parents:
diff changeset
59 class Pipeline_Use;
a61af66fc99e Initial load
duke
parents:
diff changeset
60
a61af66fc99e Initial load
duke
parents:
diff changeset
61 #ifndef PRODUCT
a61af66fc99e Initial load
duke
parents:
diff changeset
62 #define DEBUG_ARG(x) , x
a61af66fc99e Initial load
duke
parents:
diff changeset
63 #else
a61af66fc99e Initial load
duke
parents:
diff changeset
64 #define DEBUG_ARG(x)
a61af66fc99e Initial load
duke
parents:
diff changeset
65 #endif
a61af66fc99e Initial load
duke
parents:
diff changeset
66
a61af66fc99e Initial load
duke
parents:
diff changeset
67 // Define the initial sizes for allocation of the resizable code buffer
a61af66fc99e Initial load
duke
parents:
diff changeset
68 enum {
a61af66fc99e Initial load
duke
parents:
diff changeset
69 initial_code_capacity = 16 * 1024,
a61af66fc99e Initial load
duke
parents:
diff changeset
70 initial_stub_capacity = 4 * 1024,
a61af66fc99e Initial load
duke
parents:
diff changeset
71 initial_const_capacity = 4 * 1024,
a61af66fc99e Initial load
duke
parents:
diff changeset
72 initial_locs_capacity = 3 * 1024
a61af66fc99e Initial load
duke
parents:
diff changeset
73 };
a61af66fc99e Initial load
duke
parents:
diff changeset
74
a61af66fc99e Initial load
duke
parents:
diff changeset
75 //------------------------------Scheduling----------------------------------
a61af66fc99e Initial load
duke
parents:
diff changeset
76 // This class contains all the information necessary to implement instruction
a61af66fc99e Initial load
duke
parents:
diff changeset
77 // scheduling and bundling.
a61af66fc99e Initial load
duke
parents:
diff changeset
78 class Scheduling {
a61af66fc99e Initial load
duke
parents:
diff changeset
79
a61af66fc99e Initial load
duke
parents:
diff changeset
80 private:
a61af66fc99e Initial load
duke
parents:
diff changeset
81 // Arena to use
a61af66fc99e Initial load
duke
parents:
diff changeset
82 Arena *_arena;
a61af66fc99e Initial load
duke
parents:
diff changeset
83
a61af66fc99e Initial load
duke
parents:
diff changeset
84 // Control-Flow Graph info
a61af66fc99e Initial load
duke
parents:
diff changeset
85 PhaseCFG *_cfg;
a61af66fc99e Initial load
duke
parents:
diff changeset
86
a61af66fc99e Initial load
duke
parents:
diff changeset
87 // Register Allocation info
a61af66fc99e Initial load
duke
parents:
diff changeset
88 PhaseRegAlloc *_regalloc;
a61af66fc99e Initial load
duke
parents:
diff changeset
89
a61af66fc99e Initial load
duke
parents:
diff changeset
90 // Number of nodes in the method
a61af66fc99e Initial load
duke
parents:
diff changeset
91 uint _node_bundling_limit;
a61af66fc99e Initial load
duke
parents:
diff changeset
92
a61af66fc99e Initial load
duke
parents:
diff changeset
93 // List of scheduled nodes. Generated in reverse order
a61af66fc99e Initial load
duke
parents:
diff changeset
94 Node_List _scheduled;
a61af66fc99e Initial load
duke
parents:
diff changeset
95
a61af66fc99e Initial load
duke
parents:
diff changeset
96 // List of nodes currently available for choosing for scheduling
a61af66fc99e Initial load
duke
parents:
diff changeset
97 Node_List _available;
a61af66fc99e Initial load
duke
parents:
diff changeset
98
a61af66fc99e Initial load
duke
parents:
diff changeset
99 // Mapping from node (index) to basic block
a61af66fc99e Initial load
duke
parents:
diff changeset
100 Block_Array& _bbs;
a61af66fc99e Initial load
duke
parents:
diff changeset
101
a61af66fc99e Initial load
duke
parents:
diff changeset
102 // For each instruction beginning a bundle, the number of following
a61af66fc99e Initial load
duke
parents:
diff changeset
103 // nodes to be bundled with it.
a61af66fc99e Initial load
duke
parents:
diff changeset
104 Bundle *_node_bundling_base;
a61af66fc99e Initial load
duke
parents:
diff changeset
105
a61af66fc99e Initial load
duke
parents:
diff changeset
106 // Mapping from register to Node
a61af66fc99e Initial load
duke
parents:
diff changeset
107 Node_List _reg_node;
a61af66fc99e Initial load
duke
parents:
diff changeset
108
a61af66fc99e Initial load
duke
parents:
diff changeset
109 // Free list for pinch nodes.
a61af66fc99e Initial load
duke
parents:
diff changeset
110 Node_List _pinch_free_list;
a61af66fc99e Initial load
duke
parents:
diff changeset
111
a61af66fc99e Initial load
duke
parents:
diff changeset
112 // Latency from the beginning of the containing basic block (base 1)
a61af66fc99e Initial load
duke
parents:
diff changeset
113 // for each node.
a61af66fc99e Initial load
duke
parents:
diff changeset
114 unsigned short *_node_latency;
a61af66fc99e Initial load
duke
parents:
diff changeset
115
a61af66fc99e Initial load
duke
parents:
diff changeset
116 // Number of uses of this node within the containing basic block.
a61af66fc99e Initial load
duke
parents:
diff changeset
117 short *_uses;
a61af66fc99e Initial load
duke
parents:
diff changeset
118
a61af66fc99e Initial load
duke
parents:
diff changeset
119 // Schedulable portion of current block. Skips Region/Phi/CreateEx up
a61af66fc99e Initial load
duke
parents:
diff changeset
120 // front, branch+proj at end. Also skips Catch/CProj (same as
a61af66fc99e Initial load
duke
parents:
diff changeset
121 // branch-at-end), plus just-prior exception-throwing call.
a61af66fc99e Initial load
duke
parents:
diff changeset
122 uint _bb_start, _bb_end;
a61af66fc99e Initial load
duke
parents:
diff changeset
123
a61af66fc99e Initial load
duke
parents:
diff changeset
124 // Latency from the end of the basic block as scheduled
a61af66fc99e Initial load
duke
parents:
diff changeset
125 unsigned short *_current_latency;
a61af66fc99e Initial load
duke
parents:
diff changeset
126
a61af66fc99e Initial load
duke
parents:
diff changeset
127 // Remember the next node
a61af66fc99e Initial load
duke
parents:
diff changeset
128 Node *_next_node;
a61af66fc99e Initial load
duke
parents:
diff changeset
129
a61af66fc99e Initial load
duke
parents:
diff changeset
130 // Use this for an unconditional branch delay slot
a61af66fc99e Initial load
duke
parents:
diff changeset
131 Node *_unconditional_delay_slot;
a61af66fc99e Initial load
duke
parents:
diff changeset
132
a61af66fc99e Initial load
duke
parents:
diff changeset
133 // Pointer to a Nop
a61af66fc99e Initial load
duke
parents:
diff changeset
134 MachNopNode *_nop;
a61af66fc99e Initial load
duke
parents:
diff changeset
135
a61af66fc99e Initial load
duke
parents:
diff changeset
136 // Length of the current bundle, in instructions
a61af66fc99e Initial load
duke
parents:
diff changeset
137 uint _bundle_instr_count;
a61af66fc99e Initial load
duke
parents:
diff changeset
138
a61af66fc99e Initial load
duke
parents:
diff changeset
139 // Current Cycle number, for computing latencies and bundling
a61af66fc99e Initial load
duke
parents:
diff changeset
140 uint _bundle_cycle_number;
a61af66fc99e Initial load
duke
parents:
diff changeset
141
a61af66fc99e Initial load
duke
parents:
diff changeset
142 // Bundle information
a61af66fc99e Initial load
duke
parents:
diff changeset
143 Pipeline_Use_Element _bundle_use_elements[resource_count];
a61af66fc99e Initial load
duke
parents:
diff changeset
144 Pipeline_Use _bundle_use;
a61af66fc99e Initial load
duke
parents:
diff changeset
145
a61af66fc99e Initial load
duke
parents:
diff changeset
146 // Dump the available list
a61af66fc99e Initial load
duke
parents:
diff changeset
147 void dump_available() const;
a61af66fc99e Initial load
duke
parents:
diff changeset
148
a61af66fc99e Initial load
duke
parents:
diff changeset
149 public:
a61af66fc99e Initial load
duke
parents:
diff changeset
150 Scheduling(Arena *arena, Compile &compile);
a61af66fc99e Initial load
duke
parents:
diff changeset
151
a61af66fc99e Initial load
duke
parents:
diff changeset
152 // Destructor
a61af66fc99e Initial load
duke
parents:
diff changeset
153 NOT_PRODUCT( ~Scheduling(); )
a61af66fc99e Initial load
duke
parents:
diff changeset
154
a61af66fc99e Initial load
duke
parents:
diff changeset
155 // Step ahead "i" cycles
a61af66fc99e Initial load
duke
parents:
diff changeset
156 void step(uint i);
a61af66fc99e Initial load
duke
parents:
diff changeset
157
a61af66fc99e Initial load
duke
parents:
diff changeset
158 // Step ahead 1 cycle, and clear the bundle state (for example,
a61af66fc99e Initial load
duke
parents:
diff changeset
159 // at a branch target)
a61af66fc99e Initial load
duke
parents:
diff changeset
160 void step_and_clear();
a61af66fc99e Initial load
duke
parents:
diff changeset
161
a61af66fc99e Initial load
duke
parents:
diff changeset
162 Bundle* node_bundling(const Node *n) {
a61af66fc99e Initial load
duke
parents:
diff changeset
163 assert(valid_bundle_info(n), "oob");
a61af66fc99e Initial load
duke
parents:
diff changeset
164 return (&_node_bundling_base[n->_idx]);
a61af66fc99e Initial load
duke
parents:
diff changeset
165 }
a61af66fc99e Initial load
duke
parents:
diff changeset
166
a61af66fc99e Initial load
duke
parents:
diff changeset
167 bool valid_bundle_info(const Node *n) const {
a61af66fc99e Initial load
duke
parents:
diff changeset
168 return (_node_bundling_limit > n->_idx);
a61af66fc99e Initial load
duke
parents:
diff changeset
169 }
a61af66fc99e Initial load
duke
parents:
diff changeset
170
a61af66fc99e Initial load
duke
parents:
diff changeset
171 bool starts_bundle(const Node *n) const {
a61af66fc99e Initial load
duke
parents:
diff changeset
172 return (_node_bundling_limit > n->_idx && _node_bundling_base[n->_idx].starts_bundle());
a61af66fc99e Initial load
duke
parents:
diff changeset
173 }
a61af66fc99e Initial load
duke
parents:
diff changeset
174
a61af66fc99e Initial load
duke
parents:
diff changeset
175 // Do the scheduling
a61af66fc99e Initial load
duke
parents:
diff changeset
176 void DoScheduling();
a61af66fc99e Initial load
duke
parents:
diff changeset
177
a61af66fc99e Initial load
duke
parents:
diff changeset
178 // Compute the local latencies walking forward over the list of
a61af66fc99e Initial load
duke
parents:
diff changeset
179 // nodes for a basic block
a61af66fc99e Initial load
duke
parents:
diff changeset
180 void ComputeLocalLatenciesForward(const Block *bb);
a61af66fc99e Initial load
duke
parents:
diff changeset
181
a61af66fc99e Initial load
duke
parents:
diff changeset
182 // Compute the register antidependencies within a basic block
a61af66fc99e Initial load
duke
parents:
diff changeset
183 void ComputeRegisterAntidependencies(Block *bb);
a61af66fc99e Initial load
duke
parents:
diff changeset
184 void verify_do_def( Node *n, OptoReg::Name def, const char *msg );
a61af66fc99e Initial load
duke
parents:
diff changeset
185 void verify_good_schedule( Block *b, const char *msg );
a61af66fc99e Initial load
duke
parents:
diff changeset
186 void anti_do_def( Block *b, Node *def, OptoReg::Name def_reg, int is_def );
a61af66fc99e Initial load
duke
parents:
diff changeset
187 void anti_do_use( Block *b, Node *use, OptoReg::Name use_reg );
a61af66fc99e Initial load
duke
parents:
diff changeset
188
a61af66fc99e Initial load
duke
parents:
diff changeset
189 // Add a node to the current bundle
a61af66fc99e Initial load
duke
parents:
diff changeset
190 void AddNodeToBundle(Node *n, const Block *bb);
a61af66fc99e Initial load
duke
parents:
diff changeset
191
a61af66fc99e Initial load
duke
parents:
diff changeset
192 // Add a node to the list of available nodes
a61af66fc99e Initial load
duke
parents:
diff changeset
193 void AddNodeToAvailableList(Node *n);
a61af66fc99e Initial load
duke
parents:
diff changeset
194
a61af66fc99e Initial load
duke
parents:
diff changeset
195 // Compute the local use count for the nodes in a block, and compute
a61af66fc99e Initial load
duke
parents:
diff changeset
196 // the list of instructions with no uses in the block as available
a61af66fc99e Initial load
duke
parents:
diff changeset
197 void ComputeUseCount(const Block *bb);
a61af66fc99e Initial load
duke
parents:
diff changeset
198
a61af66fc99e Initial load
duke
parents:
diff changeset
199 // Choose an instruction from the available list to add to the bundle
a61af66fc99e Initial load
duke
parents:
diff changeset
200 Node * ChooseNodeToBundle();
a61af66fc99e Initial load
duke
parents:
diff changeset
201
a61af66fc99e Initial load
duke
parents:
diff changeset
202 // See if this Node fits into the currently accumulating bundle
a61af66fc99e Initial load
duke
parents:
diff changeset
203 bool NodeFitsInBundle(Node *n);
a61af66fc99e Initial load
duke
parents:
diff changeset
204
a61af66fc99e Initial load
duke
parents:
diff changeset
205 // Decrement the use count for a node
a61af66fc99e Initial load
duke
parents:
diff changeset
206 void DecrementUseCounts(Node *n, const Block *bb);
a61af66fc99e Initial load
duke
parents:
diff changeset
207
a61af66fc99e Initial load
duke
parents:
diff changeset
208 // Garbage collect pinch nodes for reuse by other blocks.
a61af66fc99e Initial load
duke
parents:
diff changeset
209 void garbage_collect_pinch_nodes();
a61af66fc99e Initial load
duke
parents:
diff changeset
210 // Clean up a pinch node for reuse (helper for above).
a61af66fc99e Initial load
duke
parents:
diff changeset
211 void cleanup_pinch( Node *pinch );
a61af66fc99e Initial load
duke
parents:
diff changeset
212
a61af66fc99e Initial load
duke
parents:
diff changeset
213 // Information for statistics gathering
a61af66fc99e Initial load
duke
parents:
diff changeset
214 #ifndef PRODUCT
a61af66fc99e Initial load
duke
parents:
diff changeset
215 private:
a61af66fc99e Initial load
duke
parents:
diff changeset
216 // Gather information on size of nops relative to total
a61af66fc99e Initial load
duke
parents:
diff changeset
217 uint _branches, _unconditional_delays;
a61af66fc99e Initial load
duke
parents:
diff changeset
218
a61af66fc99e Initial load
duke
parents:
diff changeset
219 static uint _total_nop_size, _total_method_size;
a61af66fc99e Initial load
duke
parents:
diff changeset
220 static uint _total_branches, _total_unconditional_delays;
a61af66fc99e Initial load
duke
parents:
diff changeset
221 static uint _total_instructions_per_bundle[Pipeline::_max_instrs_per_cycle+1];
a61af66fc99e Initial load
duke
parents:
diff changeset
222
a61af66fc99e Initial load
duke
parents:
diff changeset
223 public:
a61af66fc99e Initial load
duke
parents:
diff changeset
224 static void print_statistics();
a61af66fc99e Initial load
duke
parents:
diff changeset
225
a61af66fc99e Initial load
duke
parents:
diff changeset
226 static void increment_instructions_per_bundle(uint i) {
a61af66fc99e Initial load
duke
parents:
diff changeset
227 _total_instructions_per_bundle[i]++;
a61af66fc99e Initial load
duke
parents:
diff changeset
228 }
a61af66fc99e Initial load
duke
parents:
diff changeset
229
a61af66fc99e Initial load
duke
parents:
diff changeset
230 static void increment_nop_size(uint s) {
a61af66fc99e Initial load
duke
parents:
diff changeset
231 _total_nop_size += s;
a61af66fc99e Initial load
duke
parents:
diff changeset
232 }
a61af66fc99e Initial load
duke
parents:
diff changeset
233
a61af66fc99e Initial load
duke
parents:
diff changeset
234 static void increment_method_size(uint s) {
a61af66fc99e Initial load
duke
parents:
diff changeset
235 _total_method_size += s;
a61af66fc99e Initial load
duke
parents:
diff changeset
236 }
a61af66fc99e Initial load
duke
parents:
diff changeset
237 #endif
a61af66fc99e Initial load
duke
parents:
diff changeset
238
a61af66fc99e Initial load
duke
parents:
diff changeset
239 };
1972
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents: 1552
diff changeset
240
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents: 1552
diff changeset
241 #endif // SHARE_VM_OPTO_OUTPUT_HPP