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

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

    XMLWordPrintable

Details

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

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: