Hello,
Here is the fix for openjdk9 of the crash in OGL pipeline on OSX , please have 
a look. The problem is also reproducible in JDK7 and JDK8
Bug : https://bugs.openjdk.java.net/browse/JDK-8146238
Webrev : http://cr.openjdk.java.net/~avu/JDK-8146238/webrev.00/
 
Issue : jdk crashes in Java2D Queue Flusher after minimising/maximising heavy 
swing app (IntelliJ IDEA for example) and changing user account, see the bug 
for more details

Root cause : CGLSurfaceData native data requires CGLGraphicsConfig native data 
for deallocation, however after disposing appropriate java objects 
(CGLGraphicsConfig and CGLSurfaceData) CGLGraphicsConfig native data might be 
deallocated before appropriate CGLSurfaceData native data, so deallocating 
latter causes crash

Solution : Added reference counting for CGLGraphicsConfig native data in order 
to dispose it after all native pointers for CGLSurfaceData objects

Best Regards,
Alexey

Reply via email to