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

os::xxx functions returning memory size should return size_t

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • None
    • hotspot

      The following functions should return size_t:
      ```
        static julong available_memory();
        static julong used_memory();
        static julong free_memory();

        static jlong total_swap_space();
        static jlong free_swap_space();

        static julong physical_memory();
      ```

      part of the task is to make sure this builds on 32-bit (as long as we still need it)

            Unassigned Unassigned
            stuefe Thomas Stuefe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: