# HG changeset patch # User never # Date 1238611501 25200 # Node ID 260a3a5a1bed5a1214ca8ce8bd4e3147e7ff0885 # Parent 0c1e6e52006581cbd8a5dafca825b8b3eb42b9ea 6823454: Oop-typed loadP yields invalid pointer (0x1) on SPECjbb2005 at OSRed method entry Reviewed-by: kvn, jrose diff -r 0c1e6e520065 -r 260a3a5a1bed hotspot/src/share/vm/opto/parse1.cpp --- a/hotspot/src/share/vm/opto/parse1.cpp Tue Mar 31 19:20:34 2009 -0700 +++ b/hotspot/src/share/vm/opto/parse1.cpp Wed Apr 01 11:45:01 2009 -0700 @@ -95,7 +95,7 @@ switch( bt ) { // Signature is flattened case T_INT: l = new (C, 3) LoadINode( 0, mem, adr, TypeRawPtr::BOTTOM ); break; case T_FLOAT: l = new (C, 3) LoadFNode( 0, mem, adr, TypeRawPtr::BOTTOM ); break; - case T_ADDRESS: + case T_ADDRESS: l = new (C, 3) LoadPNode( 0, mem, adr, TypeRawPtr::BOTTOM, TypeRawPtr::BOTTOM ); break; case T_OBJECT: l = new (C, 3) LoadPNode( 0, mem, adr, TypeRawPtr::BOTTOM, TypeInstPtr::BOTTOM ); break; case T_LONG: case T_DOUBLE: {