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

[AOT] jaotc cannot be executed with NMT option

    Details

    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      linux_ubuntu

      Description

      FULL PRODUCT VERSION :


      A DESCRIPTION OF THE PROBLEM :
      I execute the following command trying to observe the native memory usage of jaotc:
      "jaotc -J-XX:NativeMemoryTracking=summary --compile-commands java.base-list.txt --output libjava.base-non-tiered.so --module java.base"

      Among them, "java.base-list.txt" is the same as the JEP-295 described for jaotc compiling java.base.

      But it appears "OpenJDK 64-Bit Server VM warning: Native Memory Tracking did not setup properly, using wrong launcher?"

      Is this a bug or just i use this incorrectly? Thanks!


      REPRODUCIBILITY :
      This bug can be reproduced always.

        Attachments

          Activity

            People

            • Assignee:
              kvn Vladimir Kozlov
              Reporter:
              webbuggrp Webbug Group
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: