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

`log_on_large_pages_failure` reports log_debug(gc, heap, coops) for ReservedCodeSpace failures

XMLWordPrintable

      The `log_on_large_pages_failure` function logs failures of large pages allocations. It reports to `log_debug(gc, heap, coops) `:

          // Compressed oops logging.
          log_debug(gc, heap, coops)("Reserve regular memory without large pages");

      Memory allocated for CodeCache is not regular because it is executable. Failures of allocating it should be reported to `log_debug(codecache)` instead of `log_debug(gc, heap, coops)`.

      `CodeHeap::reserve` has a regular memory reservation for _segmap which if it fails, it is reported to `log_debug(gc, heap, coops)`. Maybe it should be reported to `log_debug(codecache)` as well.

            eastigeevich Evgeny Astigeevich
            eastigeevich Evgeny Astigeevich
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: