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

Bernd Eckenfels bernd-2013 at eckenfels.net
Mon Mar 25 23:07:02 UTC 2013


Hello,

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).

Gruss
Bernd



More information about the hotspot-gc-dev mailing list