update java thread doc