[OpenJDK 2D-Dev] [jdk17] RFR: 8267602: [macos] [lanai] java/awt/PrintJob/Text/stringwidth.sh doesn't exit on cancelling print dialog
Jayathirth D V
jdv at openjdk.java.net
Tue Jun 29 17:39:26 UTC 2021
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.
-------------
Commit messages:
- 8267602: [macos] [lanai] java/awt/PrintJob/Text/stringwidth.sh doesn't exit on cancelling print dialog
Changes: https://git.openjdk.java.net/jdk17/pull/175/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk17&pr=175&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8267602
Stats: 7 lines in 1 file changed: 7 ins; 0 del; 0 mod
Patch: https://git.openjdk.java.net/jdk17/pull/175.diff
Fetch: git fetch https://git.openjdk.java.net/jdk17 pull/175/head:pull/175
PR: https://git.openjdk.java.net/jdk17/pull/175
More information about the 2d-dev
mailing list