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

print_compressed_class_space() is only defined in 64-bit VM

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b81
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        print_compressed_class_space() body is defined under #ifdef _LP64 in metaspace.cpp but it is declared for all platforms in metaspace.hpp.

        Suggested fix:

        - static void print_compressed_class_space(outputStream* st, const char* requested_addr = 0);
        + static void print_compressed_class_space(outputStream* st, const char* requested_addr = 0) NOT_LP64({});

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                kvn Vladimir Kozlov
                Reporter:
                kvn Vladimir Kozlov
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: