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

Remove <cstdio> from g1HeapRegionRemSet.cpp

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 24
    • None
    • hotspot
    • None
    • gc
    • b27

      g1HeapRegionRemSet.cpp includes <cstdio> before any other includes, even before precompiled.hpp. And that file doesn't need to be included at all. We don't reference anything in the std:: namespace, instead always using the C names that are already included from <stdio.h> via globalDefinitions.

      This was introduced by JDK-8017163, perhaps intended as a temporary debugging change in a fairly large change set.

            kbarrett Kim Barrett
            kbarrett Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: