6741004: UseLargePages + UseCompressedOops breaks implicit null checking guard page

Turn off c2 implicit null checking on windows and large pages specified.

Reviewed-by: jrose, xlu
This commit is contained in:
Coleen Phillimore 2008-09-02 15:18:26 -04:00
parent 1d328ffab8
commit 83e7d32161
4 changed files with 16 additions and 9 deletions

View file

@ -2082,7 +2082,7 @@ static void final_graph_reshaping_impl( Node *n, Final_Reshape_Counts &fpu ) {
in2 = n->in(2)->in(1);
} else if ( n->in(2)->Opcode() == Op_ConP ) {
const Type* t = n->in(2)->bottom_type();
if (t == TypePtr::NULL_PTR) {
if (t == TypePtr::NULL_PTR && UseImplicitNullCheckForNarrowOop) {
Node *in1 = n->in(1);
if (Matcher::clone_shift_expressions) {
// x86, ARM and friends can handle 2 adds in addressing mode.