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

Enable inlining of java_lang_Class::oop_size_raw

    XMLWordPrintable

Details

    • b05

    Description

      InstanceMirrorKlass::oop_size can be used heavily by GC. It delegates to java_lang_Class::oop_size_raw, which is a trivial method that unfortunately isn't inlined. Inlining is a net win on binary size and reduces time spent executing InstanceMirrorKlass::oop_size by a third when profiling.

      Attachments

        Issue Links

          Activity

            People

              redestad Claes Redestad
              redestad Claes Redestad
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: