comparison src/hotspot/share/classfile/classLoaderData.cpp @ 52266:73523d329966

8208061: runtime/LoadClass/TestResize.java fails with "Load factor too high" when running in CDS mode. Summary: Allow resizing for all system dictionaries except for the shared dictionary at runtime. Reviewed-by: iklam, gziemski
author jiangli
date Fri, 24 Aug 2018 15:33:28 -0400
parents 05223cebd7a2
children 1f0b605bdc28
comparison
equal deleted inserted replaced
40:146623edbe3c 41:e628c1339a4f
653 resizable = true; 653 resizable = true;
654 } else { 654 } else {
655 size = _default_loader_dictionary_size; 655 size = _default_loader_dictionary_size;
656 resizable = true; 656 resizable = true;
657 } 657 }
658 if (!DynamicallyResizeSystemDictionaries || DumpSharedSpaces || UseSharedSpaces) { 658 if (!DynamicallyResizeSystemDictionaries || DumpSharedSpaces) {
659 resizable = false; 659 resizable = false;
660 } 660 }
661 return new Dictionary(this, size, resizable); 661 return new Dictionary(this, size, resizable);
662 } 662 }
663 663