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

AIX build fails after 8257602

    XMLWordPrintable

    Details

    • Subcomponent:
      jfr
    • Resolved In Build:
      b29
    • CPU:
      generic
    • OS:
      aix

      Backports

        Description

        The AIX build fails after 8257602 with the error :
        ./src/hotspot/share/gc/shared/allocTracer.cpp:35:8: error: unknown type name 'THREAD_LOCAL'
        static THREAD_LOCAL int64_t _last_allocated_bytes = 0;
               ^
        ./src/hotspot/share/gc/shared/allocTracer.cpp:35:28: error: expected ';' after top level declarator
        static THREAD_LOCAL int64_t _last_allocated_bytes = 0;
                                   ^
                                   ;
        ./src/hotspot/share/gc/shared/allocTracer.cpp:41:45: error: use of undeclared identifier '_last_allocated_bytes'
            const size_t weight = allocated_bytes - _last_allocated_bytes;
                                                    ^
        ./src/hotspot/share/gc/shared/allocTracer.cpp:46:5: error: use of undeclared identifier '_last_allocated_bytes'; did you mean 'allocated_bytes'?
            _last_allocated_bytes = allocated_bytes;


        Probably we should not build that JFR only (?) codinf because JFR is not supported on AIX.
        Additionally the THREAD_LOCAL macro is not defined at the moment on AIX/xlc.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                mgronlun Markus Grönlund
                Reporter:
                mbaesken Matthias Baesken
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: