diff src/share/vm/opto/compile.cpp @ 1100:f96a1a986f7b

6895383: JCK test throws NPE for method compiled with Escape Analysis Summary: Add missing checks for MemBar nodes in EA. Reviewed-by: never
author kvn
date Wed, 09 Dec 2009 16:40:45 -0800
parents 7c57aead6d3e
children b2b6a9bf6238
line wrap: on
line diff
--- a/src/share/vm/opto/compile.cpp	Tue Dec 08 16:27:21 2009 -0800
+++ b/src/share/vm/opto/compile.cpp	Wed Dec 09 16:40:45 2009 -0800
@@ -1852,6 +1852,7 @@
           !n->is_Phi() &&       // a few noisely useless nodes
           !n->is_Proj() &&
           !n->is_MachTemp() &&
+          !n->is_SafePointScalarObject() &&
           !n->is_Catch() &&     // Would be nice to print exception table targets
           !n->is_MergeMem() &&  // Not very interesting
           !n->is_top() &&       // Debug info table constants