RFR: 2178143: VM crashes if the number of bound CPUs changed during runtime

Bernd Eckenfels bernd-2013 at eckenfels.net
Mon Mar 25 16:07:02 PDT 2013


if I read this correctly, it will allow me to overwrite the asumption that  
the VM is started on multicore. But it will not avoid the crash if the  
flag is not set.

Wouldnt it be safer to do something like this:

if initial number of cores < 2 then start in "no parallel" mode which will  
block using parallel features unless you set "+AsumeMP"?

Because otherwise you will still see random crashes and can only use the  
flag after the fact to avoid them. (if I understood the code correct).


More information about the hotspot-gc-dev mailing list