mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 17:44:40 +02:00
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:
parent
776522a355
commit
ec51784c0d
3 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue