RFR: 8184765: Dynamically resize SystemDictionary

Gerard Ziemski gerard.ziemski at oracle.com
Tue Oct 10 20:40:15 UTC 2017


hi all,

Please review this change that adds dynamic resizing of system dictionaries.

The biggest change is refactoring of the code that protects calculating of the table entry’s index using SystemDictionary_lock

A few notes:

- dynamic resizing is off when either dumping or using shared spaces
- we remove the experimental runtime option “PredictedLoadedClassCount” and add “DynamicallyResizeSystemDictionaries” to turn the resizing off (it’s on by default)
- the jtreg test uses stream of bytes to dynamically load numbered classes from memory instead of disk (thank you Ioi)

bug:    https://bugs.openjdk.java.net/browse/JDK-8184765
webrev: http://cr.openjdk.java.net/~gziemski/8184765_rev1


cheers



More information about the hotspot-runtime-dev mailing list