-
Sub-task
-
Resolution: Fixed
-
P2
-
8u40
-
None
-
b26
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8056890 | emb-9 | Unassigned | P2 | Resolved | Fixed | b26 |
JDK-8064160 | 8u45 | Attila Szegedi | P2 | Resolved | Fixed | b01 |
JDK-8055625 | 8u40 | Attila Szegedi | P2 | Closed | Fixed | b04 |
JDK-8070397 | emb-8u47 | Attila Szegedi | P2 | Resolved | Fixed | team |
Right now it's badly written, with an expensive native cast. I have managed to ~double the speed by rewriting this with an unchecked cast and a suppress warnings, and some better typing.
However, IR iteration is the key to a lot of compile time, so we should investigate how many unnecessary iterations we do, maybe profile nodes that are iterated through without being modified, or maybe having specific iterators that don't go through all nodes, but just previously memoized ones of certain types.
However, IR iteration is the key to a lot of compile time, so we should investigate how many unnecessary iterations we do, maybe profile nodes that are iterated through without being modified, or maybe having specific iterators that don't go through all nodes, but just previously memoized ones of certain types.
- backported by
-
JDK-8056890 Reduce time spent in jdk.nashorn.internal.ir.Node.accept/java.lang.Class.cast(Object)
-
- Resolved
-
-
JDK-8064160 Reduce time spent in jdk.nashorn.internal.ir.Node.accept/java.lang.Class.cast(Object)
-
- Resolved
-
-
JDK-8070397 Reduce time spent in jdk.nashorn.internal.ir.Node.accept/java.lang.Class.cast(Object)
-
- Resolved
-
-
JDK-8055625 Reduce time spent in jdk.nashorn.internal.ir.Node.accept/java.lang.Class.cast(Object)
-
- Closed
-