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

Optimize isSceneRoot, isLayoutRoot in Parent

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • None
    • javafx

      The isSceneRoot, isLayoutRoot methods in Parent are called frequently, but compute their values on every call. We may find that having some backdoor package private methods from Scene / Node to Parent could instead update simple boolean fields which we could then just read (not even have the methods). On an interpreter this would make things faster by avoiding all this method call overhead.

            rbair Richard Bair (Inactive)
            rbair Richard Bair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: