JDK-8295278 : Add parallel class loading tests
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 20
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2022-10-13
  • Updated: 2022-11-08
  • Resolved: 2022-10-17
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 20
20 b20Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
Support for parallel capable class loaders was added because of problems that customers were having with class loader deadlocks and incorrect ClassCircularityError exceptions for class loaders with non-hierarchical delegation models.  Leading to this proposal and code in ClassLoader:

https://openjdk.org/groups/core-libs/ClassLoad

At the time, support for parallel class loading was added for non-parallel capable class loaders that release the ClassLoader lock, and a comprehensive set of tests that are not open were added.  Also some tests are added to the JCK test suite.

While working on maintaining compatibility with parallel class loading, it's helpful to have the original problems as test cases to examine.  See linked issues.
Comments
Changeset: 5d273b9f Author: Coleen Phillimore <coleenp@openjdk.org> Date: 2022-10-17 12:31:39 +0000 URL: https://git.openjdk.org/jdk/commit/5d273b9f040a9884e2ae5b0f1409a3f9075c51c9
17-10-2022

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/10587 Date: 2022-10-05 22:53:48 +0000
13-10-2022