RFR: 7903547: libffmpeg sample crashes JVM

Maurizio Cimadamore mcimadamore at openjdk.org
Thu Aug 31 10:00:28 UTC 2023


On Thu, 31 Aug 2023 09:33:39 GMT, Athijegannathan Sundararajan <sundar at openjdk.org> wrote:

> try..finally is moved inside another enclosing try-with-resources for the confined Arena object. Repeated runs of sample many times do not crash anymore.

Looks good. I believe there's probably a better way to write the code that doesn't use a double try, but let's go with this for the time being.

-------------

Marked as reviewed by mcimadamore (Committer).

PR Review: https://git.openjdk.org/jextract/pull/128#pullrequestreview-1604390873


More information about the jextract-dev mailing list