Performance of Scope.getSymbolsByName()

Ron Shapiro ronshapiro at google.com
Tue May 28 18:15:58 UTC 2019


Here's my attempt so far:

http://cr.openjdk.java.net/~ronsh/scopeimpl_with_hashmap/webrev.00/

It's not working, but I'm not understanding the failures. Perhaps the
bug(s) may jump out at you?

I'm not doing anything with the removeCount, and maybe that's the issue. I
haven't tracked it because I wasn't sure what was going on in that part of
the code.
<http://cr.openjdk.java.net/~ronsh/scopeimpl_with_hashmap/webrev.00/src/jdk.compiler/share/classes/com/sun/tools/javac/code/Scope.java.sdiff.html>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20190528/fe6165bf/attachment.html>


More information about the compiler-dev mailing list