equal
deleted
inserted
replaced
3636 UseCounterDecay = false; |
3636 UseCounterDecay = false; |
3637 } |
3637 } |
3638 } |
3638 } |
3639 #endif // PRODUCT |
3639 #endif // PRODUCT |
3640 |
3640 |
3641 // JSR 292 is not supported before 1.7 |
3641 if (ScavengeRootsInCode == 0) { |
3642 if (!JDK_Version::is_gte_jdk17x_version()) { |
|
3643 if (EnableInvokeDynamic) { |
|
3644 if (!FLAG_IS_DEFAULT(EnableInvokeDynamic)) { |
|
3645 warning("JSR 292 is not supported before 1.7. Disabling support."); |
|
3646 } |
|
3647 EnableInvokeDynamic = false; |
|
3648 } |
|
3649 } |
|
3650 |
|
3651 if (EnableInvokeDynamic && ScavengeRootsInCode == 0) { |
|
3652 if (!FLAG_IS_DEFAULT(ScavengeRootsInCode)) { |
3642 if (!FLAG_IS_DEFAULT(ScavengeRootsInCode)) { |
3653 warning("forcing ScavengeRootsInCode non-zero because EnableInvokeDynamic is true"); |
3643 warning("forcing ScavengeRootsInCode non-zero"); |
3654 } |
3644 } |
3655 ScavengeRootsInCode = 1; |
3645 ScavengeRootsInCode = 1; |
3656 } |
3646 } |
3657 |
3647 |
3658 if (PrintGCDetails) { |
3648 if (PrintGCDetails) { |