RFR: 8261547: Minor memory leak reported for Metal Rendering pipeline [v2]

Prasanta Sadhukhan psadhukhan at openjdk.java.net
Thu Feb 11 17:28:07 UTC 2021


On Thu, 11 Feb 2021 17:14:40 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:

>> Changes requested by kcr (Committer).
>
> It runs fine for me on dual screens. I verified that it is hitting the call to `JNU_ReleaseStringPlatformChars`. The only issue is the type of `str`, which should be `char *` (or maybe `const char *`) as noted above.

SwingSet2, J2DDemo works fine with this change.

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

PR: https://git.openjdk.java.net/lanai/pull/182


More information about the lanai-dev mailing list