RFR: 8271395: Crash during printing when disposing textures [v4]
Florian Kirmaier
fkirmaier at openjdk.org
Fri Aug 19 07:36:12 UTC 2022
> This PR switches the Thread to the QuantumRenderer, in the case the Disposer is called from another Thread - the printing Thread.
> I'm open for better solutions on how to fix this Issue.
> Initially i thought there is also a Race Condition in the resource pool, but a new one is created for the Printing Thread.
Florian Kirmaier has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision:
- Merge remote-tracking branch 'origin/master'
- JDK-8271395
changes based on codereview
We now catch Throwable instead of Exception
- JDK-8271395
QuantumRenderer is no longer public
- JDK-8271395 Fixing crash at printing
Switching to the QuantumThread fixes the native crash when cleaning Textures.
-------------
Changes:
- all: https://git.openjdk.org/jfx/pull/618/files
- new: https://git.openjdk.org/jfx/pull/618/files/a41f41dd..27bf8836
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jfx&pr=618&range=03
- incr: https://webrevs.openjdk.org/?repo=jfx&pr=618&range=02-03
Stats: 999433 lines in 11556 files changed: 592004 ins; 268584 del; 138845 mod
Patch: https://git.openjdk.org/jfx/pull/618.diff
Fetch: git fetch https://git.openjdk.org/jfx pull/618/head:pull/618
PR: https://git.openjdk.org/jfx/pull/618
More information about the openjfx-dev
mailing list