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

More sensible memory reservation logging

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 23
    • 22
    • hotspot
    • b15

      os::attempt_reserve_at:

      We currently use `log_info(os)` in os::attempt_reserve_memory_at. Those logs are useful, but arguably too unfocused. It makes sense to specialize them more (e.g. os+map or similar), and tone down at least the reservation errors to trace level.

      os::reserve_memory:
      os::reserve_memory_special:

      We don't log at all.

      Additionally, check against logging in ReservedSpace. If logging at the os level is consistent and covers all needed cases, we may be able to remove logging from ReservedSpace altogether.

            szaldana Sonia Zaldana Calles
            stuefe Thomas Stuefe
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: