use gettid from jml