8146616: VM exit path throws fatal error: Thread holding lock at safepoint that vm can block on: BeforeExit_lock
Reviewed-by: dcubed, gthornbr
This commit is contained in:
parent
40c4fe8573
commit
978ec9c982
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -421,7 +421,10 @@ void before_exit(JavaThread* thread) {
|
|||||||
assert(_before_exit_status == BEFORE_EXIT_DONE, "invalid state");
|
assert(_before_exit_status == BEFORE_EXIT_DONE, "invalid state");
|
||||||
return;
|
return;
|
||||||
case BEFORE_EXIT_DONE:
|
case BEFORE_EXIT_DONE:
|
||||||
return;
|
// need block to avoid SS compiler bug
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user