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

Reduce method call overhead in T2KGlyph

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: fx2.1
    • Fix Version/s: None
    • Component/s: javafx
    • Labels:

      Description

      In order to pull info from native, the T2KGlyph constructor passes the pointer to some native methods
      via T2KFontstrike and T2KFontFile. That overhead is unnecessary and we can eliminate maybe 5
      method calls from the construction phase. Not sure how much this will save in practice but its low
      hanging fruit.

        Attachments

          Activity

            People

            Assignee:
            prr Philip Race
            Reporter:
            prr Philip Race
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: