Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8365155

[ubsan] left-shift issues in c1_canonicalizer

XMLWordPrintable

      source loc:
      src/hotspot/share/c1/c1_Canonicalizer.cpp:575 and 576

      observed in :
      compiler/c2/cr6663848/Tester (runtime error: left shift of 1925854197 by 24 places cannot be represented in type 'int')
      compiler/c2/cr6712835/Test6712835 (runtime error: left shift of 25624 by 24 places cannot be represented in type 'int')
      compiler/c2/cr6714694/Tester (runtime error: left shift of 2147483647 by 24 places cannot be represented in type 'int')
      compiler/c2/TestMergeStores_id0 (runtime error: left shift of negative value -17730)
      compiler/c2/TestMergeStores_id1 (runtime error: left shift of negative value -17730)
      compiler/unsafe/JdkInternalMiscUnsafeAccessTestShort (runtime error: left shift of 74497 by 16 places cannot be represented in type 'int')
      runtime/Unsafe/InternalErrorTest (runtime error: left shift of negative value -252645136)

            Unassigned Unassigned
            azafari Afshin Zafari
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: