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

[AOT] jaotc cannot be executed with NMT option

XMLWordPrintable

    • x86_64
    • linux_ubuntu

      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.

            kvn Vladimir Kozlov
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: