JDK-8144630 : Use PrivilegedAction to create Thread in Marlin RendererStats
Type:Bug
Component:client-libs
Sub-Component:2d
Priority:P4
Status:Resolved
Resolution:Fixed
Submitted:2015-12-03
Updated:2021-06-28
Resolved:2015-12-05
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
In RendererStats, a shutdown hook Thread is created to dump Marlin statistics.
It must use a PrivilegedAction (SecurityManager support) and the root thread group.
Comments
Fix Request [8u]
This is the patch 3 for the Marlin renderer backport in OpenJDK 8 updates.
The patch was modified to fix imports and reviewed in the RFR thread:
http://mail.openjdk.java.net/pipermail/jdk8u-dev/2020-February/011126.html
See http://cr.openjdk.java.net/~lbourges/marlin8u/marlin-8.03/m03.8144630.patch