JDK-8138757 : Compiler Control: Log which directives are used
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 9,10
  • Priority: P3
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2015-10-02
  • Updated: 2022-03-28
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.
Other
tbdUnresolved
Related Reports
Relates :  
Relates :  
Description
We would like some way of logging what directive was used to compile a method.
This is both to be able to verify that a directive is added correctly and  applies to the methods the user expect; and when debugging customer problems to see if a directive is being added from somewhere that affects compilations.

Might be done by having a flag that enables logging when a directive is added or removed with an unique id, and a column with directive id in printcompilation.
Comments
This seems to be related to JDK-8138756 (with the difference that JDK-8138756 issue targets reporting directives not in a log but in the hs_err file).
14-02-2017

Isn't it an enhancement?
06-06-2016