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

Some jextract samples crash with: "updating map that does not need updating"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • None
    • repo-panama
    • tools

      When running jextract samples, some of them crash with:

          # Internal Error (h:\openjdk\foreign-jextract\src\hotspot\share\runtime/registerMap.hpp:106), pid=11036, tid=5508
          # assert(_update_map) failed: updating map that does not need updating

      It seems that sometimes the RegisterMap that is passed to frame::sender_for_entry_frame does not need to be updated (even though that function clears it).

      We can avoid the assert by checking update_map() before trying to update the link register

            jvernee Jorn Vernee
            jvernee Jorn Vernee
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: