3426 "during parallel gc") \ |
3426 "during parallel gc") \ |
3427 range(0, max_juint) \ |
3427 range(0, max_juint) \ |
3428 \ |
3428 \ |
3429 /* stack parameters */ \ |
3429 /* stack parameters */ \ |
3430 product_pd(intx, StackYellowPages, \ |
3430 product_pd(intx, StackYellowPages, \ |
3431 "Number of yellow zone (recoverable overflows) pages") \ |
3431 "Number of yellow zone (recoverable overflows) pages of size " \ |
|
3432 "4KB. If pages are bigger yellow zone is aligned up.") \ |
3432 range(MIN_STACK_YELLOW_PAGES, (DEFAULT_STACK_YELLOW_PAGES+5)) \ |
3433 range(MIN_STACK_YELLOW_PAGES, (DEFAULT_STACK_YELLOW_PAGES+5)) \ |
3433 \ |
3434 \ |
3434 product_pd(intx, StackRedPages, \ |
3435 product_pd(intx, StackRedPages, \ |
3435 "Number of red zone (unrecoverable overflows) pages") \ |
3436 "Number of red zone (unrecoverable overflows) pages of size " \ |
|
3437 "4KB. If pages are bigger red zone is aligned up.") \ |
3436 range(MIN_STACK_RED_PAGES, (DEFAULT_STACK_RED_PAGES+2)) \ |
3438 range(MIN_STACK_RED_PAGES, (DEFAULT_STACK_RED_PAGES+2)) \ |
3437 \ |
3439 \ |
3438 product_pd(intx, StackReservedPages, \ |
3440 product_pd(intx, StackReservedPages, \ |
3439 "Number of reserved zone (reserved to annotated methods) pages") \ |
3441 "Number of reserved zone (reserved to annotated methods) pages" \ |
|
3442 " of size 4KB. If pages are bigger reserved zone is aligned up.") \ |
3440 range(MIN_STACK_RESERVED_PAGES, (DEFAULT_STACK_RESERVED_PAGES+10))\ |
3443 range(MIN_STACK_RESERVED_PAGES, (DEFAULT_STACK_RESERVED_PAGES+10))\ |
3441 \ |
3444 \ |
3442 product(bool, RestrictReservedStack, true, \ |
3445 product(bool, RestrictReservedStack, true, \ |
3443 "Restrict @ReservedStackAccess to trusted classes") \ |
3446 "Restrict @ReservedStackAccess to trusted classes") \ |
3444 \ |
3447 \ |
3445 /* greater stack shadow pages can't generate instruction to bang stack */ \ |
3448 /* greater stack shadow pages can't generate instruction to bang stack */ \ |
3446 product_pd(intx, StackShadowPages, \ |
3449 product_pd(intx, StackShadowPages, \ |
3447 "Number of shadow zone (for overflow checking) pages " \ |
3450 "Number of shadow zone (for overflow checking) pages of size " \ |
3448 "this should exceed the depth of the VM and native call stack") \ |
3451 "4KB. If pages are bigger shadow zone is aligned up. " \ |
|
3452 "This should exceed the depth of the VM and native call stack.") \ |
3449 range(MIN_STACK_SHADOW_PAGES, (DEFAULT_STACK_SHADOW_PAGES+30)) \ |
3453 range(MIN_STACK_SHADOW_PAGES, (DEFAULT_STACK_SHADOW_PAGES+30)) \ |
3450 \ |
3454 \ |
3451 product_pd(intx, ThreadStackSize, \ |
3455 product_pd(intx, ThreadStackSize, \ |
3452 "Thread Stack Size (in Kbytes)") \ |
3456 "Thread Stack Size (in Kbytes)") \ |
3453 range(0, max_intx-os::vm_page_size()) \ |
3457 range(0, (max_intx-os::vm_page_size())/(1 * K)) \ |
3454 \ |
3458 \ |
3455 product_pd(intx, VMThreadStackSize, \ |
3459 product_pd(intx, VMThreadStackSize, \ |
3456 "Non-Java Thread Stack Size (in Kbytes)") \ |
3460 "Non-Java Thread Stack Size (in Kbytes)") \ |
3457 range(0, max_intx/(1 * K)) \ |
3461 range(0, max_intx/(1 * K)) \ |
3458 \ |
3462 \ |
3459 product_pd(intx, CompilerThreadStackSize, \ |
3463 product_pd(intx, CompilerThreadStackSize, \ |
3460 "Compiler Thread Stack Size (in Kbytes)") \ |
3464 "Compiler Thread Stack Size (in Kbytes)") \ |
3461 range(0, max_intx /(1 * K)) \ |
3465 range(0, max_intx/(1 * K)) \ |
3462 \ |
3466 \ |
3463 develop_pd(size_t, JVMInvokeMethodSlack, \ |
3467 develop_pd(size_t, JVMInvokeMethodSlack, \ |
3464 "Stack space (bytes) required for JVM_InvokeMethod to complete") \ |
3468 "Stack space (bytes) required for JVM_InvokeMethod to complete") \ |
3465 \ |
3469 \ |
3466 /* code cache parameters */ \ |
3470 /* code cache parameters */ \ |