InlineTree should consult replay file in release build

XMLWordPrintable

    • 20
    • b10
    • generic
    • generic

      JDK-8292561 changed JVM option ReplayCompiles from debug to product. It effectively unlocks the feature ReplayCompiles in release build.

      Currently, InlineTree::should_inline() and InlineTree::should_not_inline() only read from replay files without the macro guard PRODUCT. That's to say, HotSpot can't playback the exact inlining decisions from replay files in release build.

      I think we should build the logic unconditionally. More discussion are in JDK-8292561

            Assignee:
            Xin Liu
            Reporter:
            Xin Liu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: