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
In my old Jython world, I used to precompile python classes implementing a Java interface. Then - from this singleton compiled code (*.class) - I was able to create thousands of instances and call the methods of the Java interface on them. This prevented polluting the JVM Memory with a new *.class on every call.
The compiled code needs to be available across many java.lang.Threads.
The text was updated successfully, but these errors were encountered:
In my old Jython world, I used to precompile python classes implementing a Java
interface
. Then - from this singleton compiled code (*.class
) - I was able to create thousands of instances and call the methods of the Javainterface
on them. This prevented polluting the JVM Memory with a new*.class
on every call.The compiled code needs to be available across many
java.lang.Thread
s.The text was updated successfully, but these errors were encountered: