JDK-8063036 : Cosmetics: The recompile log produces double lines for some reason
  • Type: Bug
  • Component: core-libs
  • Sub-Component: jdk.nashorn
  • Affected Version: 8u40
  • Priority: P5
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2014-11-05
  • Updated: 2015-06-04
  • Resolved: 2014-11-12
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
8u40Fixed 9 b40Fixed
Description
Running nashorn with --log=recompile (at info level) already unnecessarily verbose. Now we also get log of the form

[recompile] Parameter type specialization of 'L:752$Finally$Finally' signature: (Object,Object,Object)Object
[recompile] Looking up 'L:752$Finally$Finally' type=(ScriptFunction,Object,Object)Object
[recompile] Looking up 'L:752$Finally$Finally' type=(ScriptFunction,Object,Object)Object
[recompile] Parameter type specialization of 'L:752$TryFinally$TryFinally' signature: (Object,Object,Object,Object)Object
[recompile] Looking up 'L:752$TryFinally$TryFinally' type=(ScriptFunction,Object,Object,Object)Object
[recompile] Looking up 'L:752$TryFinally$TryFinally' type=(ScriptFunction,Object,Object,Object)Object
[recompile] Parameter type specialization of 'L:6526$Parser$parseObjectType' signature: (Object,Object,Object,Object)Object
[recompile] Looking up 'L:6526$Parser$parseObjectType' type=(ScriptFunction,Object,Object,Object)Object
[recompile] Looking up 'L:6526$Parser$parseObjectType' type=(ScriptFunction,Object,Object,Object)Object
[recompile] Parameter type specialization of 'L:752$Label$Label' signature: (Object,Object,Object)Object
[recompile] Looking up 'L:752$Label$Label' type=(ScriptFunction,Object,Object)Object
[recompile] Looking up 'L:752$Label$Label' type=(ScriptFunction,Object,Object)Object
[recompile] Parameter type specialization of 'L:752$LabeledStatement$LabeledStatement' signature: (Object,Object,Object,Object)Obje


Which seems redundant. Just eyeballing the code doesn't tell me why this is so.