Mercurial > hg > graal-compiler
diff src/share/vm/runtime/globals.hpp @ 8845:1b90c7607451
2178143: JVM crashes if the number of bound CPUs changed during runtime
Summary: Supply a new flag -XX:+AssumeMP to workaround the problem. With the flag is turned on, assume VM run on MP platform so is_MP() will return true that sync calls will not skip away.
Reviewed-by: dholmes, acorn, dcubed, jmasa
Contributed-by: yumin.qi@oracle.com
author | minqi |
---|---|
date | Wed, 27 Mar 2013 17:03:19 -0700 |
parents | 36376b540a98 |
children | 0c039865ef2b |
line wrap: on
line diff
--- a/src/share/vm/runtime/globals.hpp Wed Mar 27 13:26:44 2013 -0700 +++ b/src/share/vm/runtime/globals.hpp Wed Mar 27 17:03:19 2013 -0700 @@ -457,6 +457,9 @@ lp64_product(intx, ObjectAlignmentInBytes, 8, \ "Default object alignment in bytes, 8 is minimum") \ \ + product(bool, AssumeMP, false, \ + "Instruct the VM to assume multiple processors are available") \ + \ /* UseMembar is theoretically a temp flag used for memory barrier \ * removal testing. It was supposed to be removed before FCS but has \ * been re-added (see 6401008) */ \