[OpenJDK 2D-Dev] [jdk17] RFR: 8267602: [macos] [lanai] java/awt/PrintJob/Text/stringwidth.sh doesn't exit on cancelling print dialog [v2]

Jayathirth D V jdv at openjdk.java.net
Thu Jul 1 03:02:02 UTC 2021

On Wed, 30 Jun 2021 14:37:31 GMT, Jayathirth D V <jdv at openjdk.org> wrote:

>> Final blit operation in MTLLayer.blitTexture() is driven by CVDisplayLink in Metal.
>> In this test case we are hitting an invalid condition because of which we exit from MTLLayer.blitTexture(), but we are not stopping the CVDisplayLink. This is causing the CVDisplayLink callback to run in loop. Fix is to stop CVDisplayLink when we return without completing final blit operation in MTLLayer.blitTexture().
>> Sanity and performance analysis is green. More details in JBS.
> Jayathirth D V has updated the pull request incrementally with one additional commit since the last revision:
>   Remove stopDisplayLink call when nextDrawableCount is not zero

Verified that all test run is green with latest commit also.


PR: https://git.openjdk.java.net/jdk17/pull/175

More information about the 2d-dev mailing list