6841800: Incorrect boundary values behavior for option -XX:MaxLabelRootDepth=0-6 leads to jvm crash
MaxLabelRootDepth value less then 10 is invalid. Reviewed-by: never
This commit is contained in:
parent
26949087c0
commit
8f6070ce0e
@ -141,6 +141,10 @@ void Matcher::verify_new_nodes_only(Node* xroot) {
|
|||||||
|
|
||||||
//---------------------------match---------------------------------------------
|
//---------------------------match---------------------------------------------
|
||||||
void Matcher::match( ) {
|
void Matcher::match( ) {
|
||||||
|
if( MaxLabelRootDepth < 100 ) { // Too small?
|
||||||
|
assert(false, "invalid MaxLabelRootDepth, increase it to 100 minimum");
|
||||||
|
MaxLabelRootDepth = 100;
|
||||||
|
}
|
||||||
// One-time initialization of some register masks.
|
// One-time initialization of some register masks.
|
||||||
init_spill_mask( C->root()->in(1) );
|
init_spill_mask( C->root()->in(1) );
|
||||||
_return_addr_mask = return_addr();
|
_return_addr_mask = return_addr();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user