###@###.### has pointed out that -verbose:class prints out a
postorder traversal of the class loading graph, but a preorder traversal will
better indicate a linear order of the bytecodes seeked to in rt.jar. We need to
add a new internal command-line option for this, -XX:+TraceClassLoadingPreorder
(the current flag is -XX:+TraceClassLoading and is enabled through the public
command-line option -verbose:class) and update the reordering scripts in the JDK
workspace to handle the modified output.
postorder traversal of the class loading graph, but a preorder traversal will
better indicate a linear order of the bytecodes seeked to in rt.jar. We need to
add a new internal command-line option for this, -XX:+TraceClassLoadingPreorder
(the current flag is -XX:+TraceClassLoading and is enabled through the public
command-line option -verbose:class) and update the reordering scripts in the JDK
workspace to handle the modified output.
- relates to
-
JDK-4771277 Improve jar file reordering
- Closed