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

print_concurrent_locks should be guarded with INCLUDE_SERVICES

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • hotspot
    • None
    • svc
    • b66

        This code in thread.cpp:
        #if INCLUDE_ALL_GCS
          // Dump concurrent locks
          ConcurrentLocksDump concurrent_locks;
          if (print_concurrent_locks) {
            concurrent_locks.dump_at_safepoint();
          }
        #endif // INCLUDE_ALL_GCS

        uses HeapInspection code, which is excluded if INCLUDE_SERVICES is false.

        It should be guarded by INCLUDE_SERVICES and not INCLUDE_ALL_GCS

              stefank Stefan Karlsson
              stefank Stefan Karlsson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: