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

Merge VM_PrintJNI and VM_PrintThreads and remove the unused field 'is_deadlock' of DeadlockCycle

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 18
    • None
    • hotspot
    • None
    • b03

      Most users use `jstack <pid>` or `kill -3 <pid>` to capture the thread information
      This patch merge VM_PrintThreads, VM_PrintJNI, VM_FindDeadlocks into on VM_ExtendedPrintThreads

      pros:
      1. reduce the overhead of entering and exiting safepoint
      2. ensure the consistency of the results of VM_PrintThreads and VM_FindDeadlocks

      cons:
      1. maximum continuous pause time will increase

      After some discussion, We finally decided to merge only VM_PrintJNI and VM_PrintThreads operations. See review comments.

            ddong Denghui Dong
            ddong Denghui Dong
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: