summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/jogamp/opengl/util/GLFixedArrayHandler.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2019-12-31 05:45:00 +0100
committerSven Gothel <[email protected]>2019-12-31 05:45:00 +0100
commit79833c9e4741bec9d1f56ea8b322679756b16f70 (patch)
tree5c6ae3c97c41e293aca513297216c06a848503d9 /src/jogl/classes/jogamp/opengl/util/GLFixedArrayHandler.java
parent658e25429aa150fad45a7c81a5a08f9ca35c4479 (diff)
Bug 1312: GLContextShareSet: Utilize WeakIdentityHashMap for shareMap and its destroyedShares
Picking up Tom Nuydens suggestion to utilize a WeakIdentityHashMap instead of a IdentityHashMap, allowing destroyed GLContext to be removed from the GLContextShareSet through the GC. TestSharedContextVBOES2NEWT5 demonstrates the use-case, having one master context and several slaves being spawn off, killed and new sets to be spawn off. Here the GLContextShareSet shall not hard-reference the destroyed and user-unreferenced context, but allowing the system to GC 'em.
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/util/GLFixedArrayHandler.java')
0 files changed, 0 insertions, 0 deletions