-
Enhancement
-
Resolution: Fixed
-
P2
-
9
-
None
-
b17
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8064104 | 8u45 | Attila Szegedi | P2 | Resolved | Fixed | b01 |
JDK-8055571 | 8u40 | Attila Szegedi | P2 | Closed | Fixed | b04 |
JDK-8070341 | emb-8u47 | Attila Szegedi | P2 | Resolved | Fixed | team |
Nashorn equality operators check the types of their operands. The JSType.of() function that it uses does a costly distinction between OBJECT and FUNCTION, but that's unnecessary for the equality algorithm. A new "ofNoFunction" method that does not distinguish OBJECT and FUNCTION types is needed.
This is one of recently discovered significant performance bottlenecks in Avatar.
This is one of recently discovered significant performance bottlenecks in Avatar.
- backported by
-
JDK-8064104 Improve performance of Nashorn equality operators
-
- Resolved
-
-
JDK-8070341 Improve performance of Nashorn equality operators
-
- Resolved
-
-
JDK-8055571 Improve performance of Nashorn equality operators
-
- Closed
-