JDK-8106903 : javafx.scene.Scene.applyStylesheets overhead impacts startup time
Type:Bug
Component:javafx
Sub-Component:graphics
Affected Version:fx1.2
Priority:P2
Status:Resolved
Resolution:Fixed
Submitted:2009-02-18
Updated:2015-06-16
Resolved:2009-04-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.
javafx.scene.Scene.userInit$ consumes 78% of CPU cycles during startup of the Simple Video Player. 57% of this is from the call javafx.scene.Scene.applyStylesheets. See attached screen shots of the call tree.
Comments
This particular bug is fixed by virtue of no longer having a default style sheet.