-
Bug
-
Resolution: Fixed
-
P3
-
8
-
None
-
generic
-
generic
NativeArguments is inefficient in that the arguments array is copied eagerly in the constructor and stored in the class's namedArgs field. This also requires dozens of ScriptObject methods to be overridden.
We can simplify and speed up NativeArguments by storing arguments in the arrayData field and only create the namedArgs field if an argument is deleted or redifined.
We can simplify and speed up NativeArguments by storing arguments in the arrayData field and only create the namedArgs field if an argument is deleted or redifined.
- relates to
-
JDK-8022731 NativeArguments has wrong implementation of isMapped()
-
- Closed
-