Dependencies::print_statistics() and AbstractClassHierarchyWalker::print_statistics() are not called from PRODUCT code

XMLWordPrintable

    • b07
    • generic
    • generic

        Dependencies::print_statistics() and AbstractClassHierarchyWalker::print_statistics() are not called from PRODUCT code but seems they still end up in the product build JVM, at least when using standard build settings.
        (This can be observed when enabling link time gc and verbose info printing - in this case the methods are eliminated).

        linuxx86_64
        product build without those methods
        ls -alL images/jdk/lib/server/libjvm.so
        size 2.859.5144

        unchanged product build :
        ls -alL images/jdk/lib/server/libjvm.so
        size 2.859.9464

        (so we see a little size difference)

              Assignee:
              Matthias Baesken
              Reporter:
              Matthias Baesken
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: