Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-1478

Try to us javax.management API stead of sun.management.ThreadInfoCompositeData packages in self sampling

    XMLWordPrintableJSON

Details

    Description

      As pointed out in NETBEANS-1359 self sampling should try to not use internal sun.management but instead official java.management API.

      private static final String[][] methods = new String[][]{
        {"sun.management.ThreadInfoCompositeData", "toCompositeData"}, // NOI18N Sun JVM
        {"com.ibm.lang.management.ManagementUtils", "toThreadInfoCompositeData"} // NOI18N IBM J9
      };

      Attachments

        Issue Links

          Activity

            People

              sreimers Sven Reimers
              sreimers Sven Reimers
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m