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

MacOS aarch64: masses of "unused parameter" warnings

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P4 P4
    • tbd
    • 18
    • infrastructure
    • aarch64
    • os_x

      The build logs for MacOs aarch64 are insane, 73MB vs ~100k on intel. The reasons are masses of "unused parameter" warnings:

      ```
      2021-11-04T06:44:09.9472490Z In file included from /Users/runner/work/jdk/jdk/jdk/src/hotspot/share/classfile/classLoaderData.hpp:28:
      2021-11-04T06:44:09.9571660Z /Users/runner/work/jdk/jdk/jdk/src/hotspot/share/memory/allocation.hpp:369:30: warning: unused parameter 'p' [-Wunused-parameter]
      2021-11-04T06:44:09.9673680Z void operator delete(void* p) { ShouldNotCallThis(); }
      2021-11-04T06:44:09.9774370Z ^
      2021-11-04T06:44:09.9876080Z /Users/runner/work/jdk/jdk/jdk/src/hotspot/share/memory/allocation.hpp:438:57: warning: unused parameter 'nothrow_constant' [-Wunused-parameter]
      2021-11-04T06:44:09.9977090Z void* operator new(size_t size, const std::nothrow_t& nothrow_constant) throw() {
      ```

      in my build, I get about > 120K of these warnings. This eats up space for GHA logs and makes downloading them a chore.

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

              Created:
              Updated:
              Resolved: