8215355: Object monitor deadlock with no threads holding the monitor (using jemalloc 5.1)

Reviewed-by: rehn, stuefe, dcubed, sspitsyn
This commit is contained in:
David Holmes 2019-11-18 23:41:06 -05:00
parent 776522a355
commit ec51784c0d
3 changed files with 4 additions and 4 deletions

View file

@ -1007,7 +1007,7 @@ bool Thread::is_in_stack(address adr) const {
address end = os::current_stack_pointer();
// Allow non Java threads to call this without stack_base
if (_stack_base == NULL) return true;
if (stack_base() >= adr && adr >= end) return true;
if (stack_base() > adr && adr >= end) return true;
return false;
}