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

[windows] assert and/or log if commit_memory fails

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 16
    • Fix Version/s: 17
    • Component/s: hotspot
    • Subcomponent:
    • OS:
      windows

      Description

      When committing fails we will see a warning in NON_PRODUCT. This should be improved:
      - warning should be done using UL
      - we should assert if we try to commit something outside an existing allocation

      This work can follow JDK-8255978, and ideally should follow the same error handling pattern done there: check the mapping using the new helper functions (os::win32::find_mapping()) and assert if our notion of allocation does not match reality; also log if commit fails.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                stuefe Thomas Stuefe
                Reporter:
                stuefe Thomas Stuefe
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: