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

Deprecate -XX:+AlwaysLockClassLoader

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 17
    • 17
    • hotspot
    • b04

      This option was added when parallel capable class loading was added in JDK 7 to help users debug their parallel capable class loaders that might have bugs. Allowing general access to this functionality can cause deadlocks, so this shouldn't be an option for users. Nor is is useful for debugging parallel capable class loaders, since it may only hide their bugs.
      This option is untested (and should be because it'll cause deadlocks) and should be deprecated in 17, obsoleted in 18 and removed in 19.

      From: http://openjdk.java.net/groups/core-libs/ClassLoaderProposal.html

      VM Flags for early access testing
      AlwaysLockClassLoader - default false. Provided for ParallelClassLoader that has a bug in handling multiple threads in parallel. Expected to ship in product.

            coleenp Coleen Phillimore
            coleenp Coleen Phillimore
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: