This means we only set the option -Xrs if other jvm options are being set, which seems wrong

I would have thought it would suffice to add 

    optionStrings.append("-Xrs");

at a suitable point (It's almost certainly harmless to set it twice)