-
Bug
-
Resolution: Fixed
-
P3
-
None
-
repo-panama
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
# 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