File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
utils/src/main/java/datadog/instrument/utils Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -56,11 +56,11 @@ public boolean contains(CharSequence className) {
5656
5757 // try to find matching slot, rehashing after each attempt
5858 for (int i = 1 , h = hash ; true ; i ++, h = rehash (h )) {
59- long codeAndHash = members [slotMask & h ];
60- if (codeAndHash != 0 ) {
59+ long existing = members [slotMask & h ];
60+ if (existing != 0 ) {
6161 // check hash first as it's cheap, then check class-code
62- if ((int ) codeAndHash == hash ) {
63- return checkClassCode (className , (int ) (codeAndHash >>> 32 ));
62+ if ((int ) existing == hash ) {
63+ return checkClassCode (className , (int ) (existing >>> 32 ));
6464 } else if (i < MAX_HASH_ATTEMPTS ) {
6565 continue ; // rehash and try again
6666 }
You can’t perform that action at this time.
0 commit comments