Reduce warnings about unsupported classes in AOT cache creation

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 26
    • Affects Version/s: 25
    • Component/s: hotspot
    • b18

      These warnings are often printed when creating an AOT cache. These classes are not supported by the AOT implementation for various reasons. However, they do not indicate any fault on the part of the user and there's nothing that the user can do about it.

      These should be changed to the info level

      [1.096s][warning][aot] Skipping jdk/internal/event/Event: JFR event class
      [1.096s][warning][aot] Skipping jdk/jfr/Event: JFR event class
      [1.097s][warning][aot] Skipping jdk/proxy1/$Proxy2: Unsupported location
      [1.097s][warning][aot] Skipping jdk/proxy1/$Proxy0: Unsupported location
      [1.097s][warning][aot] Skipping jdk/proxy1/$Proxy1: Unsupported location
      [1.098s][warning][aot] Skipping org/junit/platform/launcher/jfr/FlightRecordingExecutionListener$TestExecutionEvent: Not in loaded state
      [1.098s][warning][aot] Skipping org/junit/platform/launcher/jfr/FlightRecordingExecutionListener$TestExecutionEvent: JFR event class
      [1.098s][warning][aot] Skipping org/junit/platform/launcher/jfr/FlightRecordingExecutionListener$ExecutionEvent: JFR event class
      [1.098s][warning][aot] Skipping org/junit/platform/launcher/jfr/FlightRecordingExecutionListener$TestEvent: JFR event class
      [1.098s][warning][aot] Skipping org/junit/platform/launcher/jfr/FlightRecordingDiscoveryListener$LauncherDiscoveryEvent: JFR event class
      [1.098s][warning][aot] Skipping org/junit/platform/launcher/jfr/FlightRecordingDiscoveryListener$EngineDiscoveryEvent: Not in loaded state
      [1.098s][warning][aot] Skipping org/junit/platform/launcher/jfr/FlightRecordingDiscoveryListener$EngineDiscoveryEvent: JFR event class
      [1.098s][warning][aot] Skipping org/junit/platform/launcher/jfr/FlightRecordingExecutionListener$TestPlanExecutionEvent: Not in loaded state
      [1.099s][warning][aot] Skipping org/junit/platform/launcher/jfr/FlightRecordingExecutionListener$TestPlanExecutionEvent: JFR event class
      [1.099s][warning][aot] Skipping org/junit/platform/launcher/jfr/FlightRecordingDiscoveryListener$DiscoveryEvent: JFR event class
      [1.099s][warning][aot] Skipping jdk/proxy1/$Proxy16: Unsupported location
      [1.099s][warning][aot] Skipping org/junit/platform/launcher/jfr/$Proxy15: Unsupported location
      [1.099s][warning][aot] Skipping jdk/proxy1/$Proxy13: Unsupported location
      [1.099s][warning][aot] Skipping jdk/proxy1/$Proxy14: Unsupported location
      [1.100s][warning][aot] Skipping jdk/proxy1/$Proxy12: Unsupported location
      [1.100s][warning][aot] Skipping jdk/proxy1/$Proxy11: Unsupported location
      [1.100s][warning][aot] Skipping jdk/proxy2/$Proxy18: Unsupported location
      [1.100s][warning][aot] Skipping jdk/proxy2/$Proxy17: Unsupported location
      [1.101s][warning][aot] Skipping jdk/proxy1/$Proxy9: Unsupported location
      [1.101s][warning][aot] Skipping jdk/proxy1/$Proxy8: Unsupported location
      [1.101s][warning][aot] Skipping jdk/proxy1/$Proxy10: Unsupported location
      [1.101s][warning][aot] Skipping jdk/proxy1/$Proxy6: Unsupported location
      [1.101s][warning][aot] Skipping jdk/proxy1/$Proxy5: Unsupported location
      [1.102s][warning][aot] Skipping jdk/proxy1/$Proxy4: Unsupported location
      [1.102s][warning][aot] Skipping jdk/proxy1/$Proxy3: Unsupported location
      [1.102s][warning][aot] Skipping jdk/proxy1/$Proxy7: Unsupported location
      [1.102s][warning][aot] Skipping jdk/proxy1/$Proxy19: Unsupported location

            Assignee:
            Ioi Lam
            Reporter:
            Ioi Lam
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: