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

Remove julong types in os::limit_heap_by_allocatable_memory

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 16
    • Fix Version/s: 17
    • Component/s: hotspot
    • Subcomponent:
      gc
    • Resolved In Build:
      b02

      Description

      In JDK-8257901 the request came up to change the julong types (return value, arguments) in os::limit_heap_by_allocatable_memory to size_t.

      We shouldn't use the j-types if not absolutely necessary in VM code, and in this instance size_t seems to be a perfect fit.

      This has been deferred due to that propagating a (small?) bit through some methods in the OS class.

      Implement.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pliden Per Liden
              Reporter:
              tschatzl Thomas Schatzl
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: