Mercurial > hg > graal-compiler
comparison 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 |
comparison
equal
deleted
inserted
replaced
8839:b601102d00c8 | 8845:1b90c7607451 |
---|---|
455 "Print compressed oops base address and encoding mode") \ | 455 "Print compressed oops base address and encoding mode") \ |
456 \ | 456 \ |
457 lp64_product(intx, ObjectAlignmentInBytes, 8, \ | 457 lp64_product(intx, ObjectAlignmentInBytes, 8, \ |
458 "Default object alignment in bytes, 8 is minimum") \ | 458 "Default object alignment in bytes, 8 is minimum") \ |
459 \ | 459 \ |
460 product(bool, AssumeMP, false, \ | |
461 "Instruct the VM to assume multiple processors are available") \ | |
462 \ | |
460 /* UseMembar is theoretically a temp flag used for memory barrier \ | 463 /* UseMembar is theoretically a temp flag used for memory barrier \ |
461 * removal testing. It was supposed to be removed before FCS but has \ | 464 * removal testing. It was supposed to be removed before FCS but has \ |
462 * been re-added (see 6401008) */ \ | 465 * been re-added (see 6401008) */ \ |
463 product_pd(bool, UseMembar, \ | 466 product_pd(bool, UseMembar, \ |
464 "(Unstable) Issues membars on thread state transitions") \ | 467 "(Unstable) Issues membars on thread state transitions") \ |