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

nsk/jdi tests unloading classes are incompatible with NoPermGen

XMLWordPrintable

    • svc
    • generic
    • generic

      A couple of tests under nsk/jdi rely on exhausting PermGen to force class unloading. Now that PermGen is no more, this technique instead exhausts native memory (atleast without -XX:MaxMetaspaceSize) leading to both OOM errors and high load on test machines due to intensive swapping.

      Affected tests:

      nsk/jdi/ClassObjectReference/reflectedType/reflectype002
      nsk/jdi/ClassUnloadEvent/className/classname001
      nsk/jdi/ClassUnloadEvent/classSignature/signature001
      nsk/jdi/ClassUnloadRequest/addClassExclusionFilter/exclfilter001
      nsk/jdi/ClassUnloadRequest/addClassFilter/filter001
      nsk/jdi/ReferenceType/allFields/allfields003
      nsk/jdi/ReferenceType/allMethods/allmethods003
      nsk/jdi/ReferenceType/classObject/classobj002
      nsk/jdi/ReferenceType/equals/equals002
      nsk/jdi/ReferenceType/failedToInitialize/failedtoinit002
      nsk/jdi/ReferenceType/fieldByName/fieldbyname003
      nsk/jdi/ReferenceType/fields/fields003
      nsk/jdi/ReferenceType/hashCode/hashcode002
      nsk/jdi/ReferenceType/isAbstract/isabstract002
      nsk/jdi/ReferenceType/isInitialized/isinit002
      nsk/jdi/ReferenceType/isPrepared/isprepared002
      nsk/jdi/ReferenceType/isVerified/isverified002
      nsk/jdi/ReferenceType/methodsByName_s/methbyname_s003
      nsk/jdi/ReferenceType/methodsByName_ss/methbyname_ss003
      nsk/jdi/ReferenceType/methods/methods003
      nsk/jdi/ReferenceType/name/name002
      nsk/jdi/ReferenceType/sourceName/sourcename002
      nsk/jdi/ReferenceType/visibleFields/visibfield003
      nsk/jdi/ReferenceType/visibleMethods/visibmethod003

            avorobye Alexander Vorobyev (Inactive)
            miauno Mikael Auno (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: