Thread.single_step field, anything using it?

Alan Bateman Alan.Bateman at
Tue Dec 19 11:06:01 UTC 2017

I've been going through the fields in java.lang.Thread and I'm wondering 
if this field can be removed:

     /* Whether or not to single_step this thread. */
     private boolean     single_step;

This field was used in the original Classic VM (pre-OpenJDK history). It 
doesn't appear to be used in the HotSpot VM.

Does anyone know of any reason to keep it? Are there other VMs using it 
by any chance?


More information about the core-libs-dev mailing list