A DESCRIPTION OF THE PROBLEM :
if JfrTryLock is not acquired, there is no reason to generate RecordStackTrace and RecordStackTrace is a resource consuming operation.
if JfrTryLock is not acquired, there is no reason to generate RecordStackTrace and RecordStackTrace is a resource consuming operation.