-
Bug
-
Resolution: Fixed
-
P4
-
9
-
b80
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8136328 | emb-9 | Attila Szegedi | P4 | Resolved | Fixed | team |
JDK-8140984 | 8u91 | Attila Szegedi | P4 | Resolved | Fixed | b01 |
JDK-8136541 | 8u72 | Attila Szegedi | P4 | Resolved | Fixed | b01 |
JDK-8147353 | emb-8u91 | Attila Szegedi | P4 | Resolved | Fixed | b01 |
Timing.java in Nashorn currently uses a LinkedHashMap<String, Long> to record compilation timings. This is grossly inefficient (not to mention not being thread safe). The solution is to switch to using a ConcurrentHashMap<String, LongAdder> instead; with a separate LinkedBlockingQueue<String> to preserve ordering of stats.
- backported by
-
JDK-8136328 Make Nashorn Timing class both threadsafe and efficient
-
- Resolved
-
-
JDK-8136541 Make Nashorn Timing class both threadsafe and efficient
-
- Resolved
-
-
JDK-8140984 Make Nashorn Timing class both threadsafe and efficient
-
- Resolved
-
-
JDK-8147353 Make Nashorn Timing class both threadsafe and efficient
-
- Resolved
-