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

Scrolling a webpage results in memory leak with metal pipeline

XMLWordPrintable

    • generic
    • os_x

      After implementing JDK-8309916, we can load webpages in WebView which get rendered with metal pipeline.
      It is observed that on scrolling of loaded webpage for some time, a message gets logged on terminal saying - "Context leak detected, CoreAnalytics returned false"

      This bug is to analyze and fix this leak.

      Steps to reproduce: use javafx metal sandbox repo
      1) Build apps
      2) Launch HelloWebview demo -
      java @./build/run.args -Dcom.sun.webkit.useHTTP2Loader=false -cp "<Path to metal sandbox>/rt/apps/toys/Hello/dist/Hello.jar" hello.HelloWebView
      3) Verify that it loads the default webpage.
      4) start scrolling till the end of the webpage. (If the context leak message does not appear on terminal, keep scrolling up and down multiple times)

            jdv Jayathirth D V
            aghaisas Ajit Ghaisas
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: