1.1 --- a/src/share/vm/adlc/formssel.cpp Wed Sep 19 16:50:26 2012 -0700 1.2 +++ b/src/share/vm/adlc/formssel.cpp Thu Sep 20 16:49:17 2012 +0200 1.3 @@ -751,6 +751,7 @@ 1.4 !strcmp(_matrule->_rChild->_opType,"DecodeN") || 1.5 !strcmp(_matrule->_rChild->_opType,"EncodeP") || 1.6 !strcmp(_matrule->_rChild->_opType,"LoadN") || 1.7 + !strcmp(_matrule->_rChild->_opType,"GetAndSetN") || 1.8 !strcmp(_matrule->_rChild->_opType,"LoadNKlass") || 1.9 !strcmp(_matrule->_rChild->_opType,"CreateEx") || // type of exception 1.10 !strcmp(_matrule->_rChild->_opType,"CheckCastPP")) ) return true; 1.11 @@ -3399,7 +3400,9 @@ 1.12 "StorePConditional", "StoreIConditional", "StoreLConditional", 1.13 "CompareAndSwapI", "CompareAndSwapL", "CompareAndSwapP", "CompareAndSwapN", 1.14 "StoreCM", 1.15 - "ClearArray" 1.16 + "ClearArray", 1.17 + "GetAndAddI", "GetAndSetI", "GetAndSetP", 1.18 + "GetAndAddL", "GetAndSetL", "GetAndSetN", 1.19 }; 1.20 int cnt = sizeof(needs_ideal_memory_list)/sizeof(char*); 1.21 if( strcmp(_opType,"PrefetchRead")==0 ||