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

Remove julong types in os::limit_heap_by_allocatable_memory

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 17
    • 16
    • hotspot
    • gc
    • 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

              pliden Per Liden (Inactive)
              tschatzl Thomas Schatzl
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: