src/share/vm/opto/compile.hpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
*** old/src/share/vm/opto/compile.hpp Tue Jul 14 18:25:37 2009
--- new/src/share/vm/opto/compile.hpp Tue Jul 14 18:25:37 2009
*** 187,196 ****
--- 187,198 ----
Node* _immutable_memory; // Initial memory state
Node* _recent_alloc_obj;
Node* _recent_alloc_ctl;
+ uint _nodes_limit; // Nodes limit
+
// Blocked array of debugging and profiling information,
// tracked per node.
enum { _log2_node_notes_block_size = 8,
_node_notes_block_size = (1<<_log2_node_notes_block_size)
};
*** 376,392 ****
--- 378,396 ----
}
void record_method_not_compilable_all_tiers(const char* reason) {
record_method_not_compilable(reason, true);
}
bool check_node_count(uint margin, const char* reason) {
! if (unique() + margin > (uint)MaxNodeLimit) {
! if (unique() + margin > _nodes_limit) {
record_method_not_compilable(reason);
return true;
} else {
return false;
}
}
+ uint nodes_limit() const { return _nodes_limit; }
+ void increase_nodes_limit() { _nodes_limit = _nodes_limit*2; } // double MaxNodeLimit
// Node management
uint unique() const { return _unique; }
uint next_unique() { return _unique++; }
void set_unique(uint i) { _unique = i; }
src/share/vm/opto/compile.hpp
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File