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

Extra calls to GetDC(null) in windows font lookup

    Details

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

      Description

      We only need one call to GetDC(null) in the font lookup.
      Right now we are leaking some (fixed) number of DCs as well as taking a (small) performance hit
      when this code is invoked.

        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: