RFR: JDK-8300069: Left shift of negative value in share/adlc/dict2.cpp [v4]

Justin King jcking at openjdk.org
Fri Jan 13 16:01:55 UTC 2023


> Refactor `hashstr` to use unsigned integrals to avoid undefined behavior.

Justin King has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains four commits:

 - Resolve conflicts
   
   Signed-off-by: Justin King <jcking at google.com>
 - Revert share/adlc/dict2.cpp changes
   
   Signed-off-by: Justin King <jcking at google.com>
 - Silence undefined behavior checking for left hand side of shift
   
   Signed-off-by: Justin King <jcking at google.com>
 - Left shift of negative value in share/adlc/dict2.cpp
   
   Signed-off-by: Justin King <jcking at google.com>

-------------

Changes: https://git.openjdk.org/jdk/pull/11977/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=11977&range=03
  Stats: 3 lines in 1 file changed: 1 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/11977.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/11977/head:pull/11977

PR: https://git.openjdk.org/jdk/pull/11977


More information about the hotspot-compiler-dev mailing list