Lines Matching refs:options
44 CodeCacheOptions options) throws Throwable {
51 + "heap sizes", ExitCode.OK, options.prepareOptions());
53 verifySingleInconsistentValue(options);
54 verifyAllInconsistentValues(options);
58 * Verifies that if at least one of three options will have value, such
62 private static void verifySingleInconsistentValue(CodeCacheOptions options)
64 verifyHeapSizesSum(options.reserved,
65 scaleCodeHeapSize(options.profiled), options.nonProfiled,
66 options.nonNmethods);
67 verifyHeapSizesSum(options.reserved, options.profiled,
68 scaleCodeHeapSize(options.nonProfiled), options.nonNmethods);
69 verifyHeapSizesSum(options.reserved, options.profiled,
70 options.nonProfiled, scaleCodeHeapSize(options.nonNmethods));
74 * Verifies that if all three options will have values such that their sum
78 private static void verifyAllInconsistentValues(CodeCacheOptions options)
80 long profiled = options.profiled;
81 long nonProfiled = options.nonProfiled;
82 long nonNMethods = options.nonNmethods;
84 while (options.reserved == profiled + nonProfiled + nonNMethods) {
90 verifyHeapSizesSum(options.reserved, profiled, nonProfiled,