RFR: 8271395: Crash during printing when disposing textures [v4]
Phil Race
prr at openjdk.org
Fri Aug 19 16:43:33 UTC 2022
On Fri, 19 Aug 2022 07:36:12 GMT, Florian Kirmaier <fkirmaier at openjdk.org> wrote:
>> 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.
Marked as reviewed by prr (Reviewer).
-------------
PR: https://git.openjdk.org/jfx/pull/618
More information about the openjfx-dev
mailing list