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

AIX: Change "8030763: Validate global memory allocation" breaks the HotSpot build

XMLWordPrintable

    • b01
    • aix
    • Not verified

        Unfortunately the merging of 8u11 into 8u-dev and 8u20 broke the
        HotSpot build on AIX for those code lines.

        The fix is trivial - just remove the unused function os::set_error_file() in os_aix.cpp (as this has been done on the other platforms by 8030763):

        diff -r f09d1f6a401e src/os/aix/vm/os_aix.cpp
        --- a/src/os/aix/vm/os_aix.cpp Mon Jul 14 10:16:34 2014 -0700
        +++ b/src/os/aix/vm/os_aix.cpp Fri Jul 18 17:22:32 2014 +0200
        @@ -1215,10 +1215,6 @@
           ::abort();
         }

        -// Unused on Aix for now.
        -void os::set_error_file(const char *logfile) {}
        -
        -
         // This method is a copy of JDK's sysGetLastErrorString
         // from src/solaris/hpi/src/system_md.c

              simonis Volker Simonis
              simonis Volker Simonis
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: