-
Enhancement
-
Resolution: Fixed
-
P3
-
9
-
b17
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8064115 | 8u45 | Attila Szegedi | P3 | Resolved | Fixed | b01 |
JDK-8055582 | 8u40 | Attila Szegedi | P3 | Resolved | Fixed | b04 |
JDK-8070352 | emb-8u47 | Attila Szegedi | P3 | Resolved | Fixed | team |
Avatar tests can spend up to 5% of their runtime comparing objects using == or != operator. With our current compilation techniques, a call to ScriptRuntime.equals() is only invoked when the arguments are objects - when we know they're numbers etc. those cases are caught by the compiler. Therefore, prioritizing object comparison and extracting other comparison into separate methods so the primary methods are smaller provides a performance benefit.
- backported by
-
JDK-8055582 Make equality tests inline better
-
- Resolved
-
-
JDK-8064115 Make equality tests inline better
-
- Resolved
-
-
JDK-8070352 Make equality tests inline better
-
- Resolved
-