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.

To download the current JDK release, click here.
JDK 8 JDK 9 Other
8u311Fixed 9 b100Fixed openjdk8u252Fixed
Related Reports
Relates :  
Description
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
19-02-2020