7122219: Passed StringTableSize value not verified

Check that the values specified for -XX:StringTableSize are within a certain range.

Reviewed-by: dholmes, coleenp
This commit is contained in:
Harold Seigel 2012-11-12 15:58:11 -05:00
parent a988fc0968
commit a28380d97e
5 changed files with 19 additions and 10 deletions

View file

@ -327,6 +327,12 @@ typedef jlong s8;
const int max_method_code_size = 64*K - 1; // JVM spec, 2nd ed. section 4.8.1 (p.134)
//----------------------------------------------------------------------------------------------------
// Minimum StringTableSize value
const int defaultStringTableSize=1009;
//----------------------------------------------------------------------------------------------------
// HotSwap - for JVMTI aka Class File Replacement and PopFrame
//