You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is probably by design. StructBondType is sharing global lock across all bond class, while JVM will take Class lock for clinit class. So when ClassOut and ClassIn are being created in different thread, deadlock could possible happen when ClassOut clinit take the StructBondType lock, trying to create ClassIn and wait for ClassIn clinit lock,
while ClassIn take the clinit lock, while wait for StructBondType lock
The workaround we did is simply pre-init those classes.
This is probably by design. StructBondType is sharing global lock across all bond class, while JVM will take Class lock for clinit class. So when ClassOut and ClassIn are being created in different thread, deadlock could possible happen when
ClassOut clinit take the StructBondType lock, trying to create ClassIn and wait for ClassIn clinit lock,
while ClassIn take the clinit lock, while wait for StructBondType lock
The workaround we did is simply pre-init those classes.
Bond file
Test program
The text was updated successfully, but these errors were encountered: