-
Bug
-
Resolution: Fixed
-
P2
-
jfx11, 8u251, jfx15
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8249657 | jfx14 | Arun Joseph | P2 | Resolved | Fixed | |
JDK-8245570 | 8u271 | Arun Joseph | P2 | Resolved | Fixed | b01 |
JDK-8245795 | 8u261 | Arun Joseph | P2 | Closed | Fixed | b09 |
JDK-8247333 | 8u251 | Arun Joseph | P2 | Closed | Fixed | b36 |
JDK-8247255 | jfx11.0.8 | Arun Joseph | P2 | Resolved | Fixed |
There seems to be a regression problem in 14.0.1 which causes a massive resource leak of Windows "User Objects" when using the WebView. The problem does not seem to happen with OpenJFX 14.
I ran 2 instances of the sample, one with OpenJFX 14 and another with OpenJFX 14.0.1. After browsing the same links for 5-10 minutes, I took a reading from the "Task Manager" (image attached).
Steps to reproduce:
1. Open the Windows Task manager, go to the "Details" tab, right click any column header and from the resulting "Select Columns" dialog check the "User objects" checkbox.
2. Run the attached sample using OpenJFX 14.0.1.
3. "User Objects" increase as you navigate through the website and continue reading different news articles.
** Sample **
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.layout.StackPane;
import javafx.scene.web.WebView;
import javafx.stage.Stage;
public class WebViewUserObjectLeakage extends Application {
@Override
public void start(Stage stage) {
WebView webview = new WebView();
webview.getEngine().load("https://cnn.com");
Scene scene = new Scene(new StackPane(webview));
stage.setScene(scene);
stage.setMaximized(true);
stage.show();
}
public static void main(String[] args) {
launch();
}
}
I ran 2 instances of the sample, one with OpenJFX 14 and another with OpenJFX 14.0.1. After browsing the same links for 5-10 minutes, I took a reading from the "Task Manager" (image attached).
Steps to reproduce:
1. Open the Windows Task manager, go to the "Details" tab, right click any column header and from the resulting "Select Columns" dialog check the "User objects" checkbox.
2. Run the attached sample using OpenJFX 14.0.1.
3. "User Objects" increase as you navigate through the website and continue reading different news articles.
** Sample **
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.layout.StackPane;
import javafx.scene.web.WebView;
import javafx.stage.Stage;
public class WebViewUserObjectLeakage extends Application {
@Override
public void start(Stage stage) {
WebView webview = new WebView();
webview.getEngine().load("https://cnn.com");
Scene scene = new Scene(new StackPane(webview));
stage.setScene(scene);
stage.setMaximized(true);
stage.show();
}
public static void main(String[] args) {
launch();
}
}
- backported by
-
JDK-8245570 Windows "User Objects" leakage with WebView
- Resolved
-
JDK-8247255 Windows "User Objects" leakage with WebView
- Resolved
-
JDK-8249657 Windows "User Objects" leakage with WebView
- Resolved
-
JDK-8245795 Windows "User Objects" leakage with WebView
- Closed
-
JDK-8247333 Windows "User Objects" leakage with WebView
- Closed
- relates to
-
JDK-8233942 Update to 609.1 version of WebKit
- Resolved
(1 relates to, 2 links to)