Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8258872

move different late_inlines out of compile.hpp/cpp

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • P4
    • tbd
    • 17
    • hotspot
    • generic
    • generic

    Description

      Currently, there are multiple buckets for late_inlines. I think we'd better add more comments for them.
      1._string_late_inlines
      2. _late_inlines -> incrementally (including MH inlines and force inlines)
      3. _boxing_late_inlines
      4. _vector_reboxing_late_inlines

      And there are many auxiliary member functions and variables in Compile which only serve for late liners. I think we can provide a standalone class (LateInliner?) to include them and move those code out of compile.hpp/cpp.

      Another notable variable is _inlining_incrementally. it looks like a global flag to toggle on/off for those late inliners. I think we should use RAII idiom for it.

      Attachments

        Activity

          People

            xliu Xin Liu
            xliu Xin Liu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: