-
Enhancement
-
Resolution: Fixed
-
P3
-
16
-
b24
There is a race when shutting down the VM, where it is possible to add new tasks to the service thread after it has been shut down. This is not used today, but the upcoming work for concurrent uncommit might trigger this situation.
The problem is that the tasks already in the task_queue are allocated on stack, and after shutdown those are no longer available. So a new addition will look at stale tasks.
The problem is that the tasks already in the task_queue are allocated on stack, and after shutdown those are no longer available. So a new addition will look at stale tasks.
- relates to
-
JDK-8254758 Change G1ServiceThread to be task based
- Resolved