6977034: Thread.getState() very slow Directly map the threadStatus value to Thread.State Reviewed-by: emcmanus, dholmes