-
Sub-task
-
Resolution: Delivered
-
P3
-
15
-
Verified
A number of flags controlling inlining in the C1 and C2 compilers have been split up into separate flags. The C2 compiler keeps the flags with the old names, and the C1 compiler gets the new flags.
**Old flags now only controlling C2**
- MaxInlineLevel
- MaxRecursiveInlineLevel
- MaxInlineSize
- MaxTrivialSize
- InlineSmallCode
- FreqInlineSize
**New flags for C1 that replace the old ones**
- C1MaxInlineLevel
- C1MaxRecursiveInlineLevel
- C1MaxInlineSize
- C1MaxTrivialSize
**Deprecation**
If the old flags are used in a JDK build without the C2 compiler, a deprecation warning will be printed.
**Old flags now only controlling C2**
- MaxInlineLevel
- MaxRecursiveInlineLevel
- MaxInlineSize
- MaxTrivialSize
- InlineSmallCode
- FreqInlineSize
**New flags for C1 that replace the old ones**
- C1MaxInlineLevel
- C1MaxRecursiveInlineLevel
- C1MaxInlineSize
- C1MaxTrivialSize
**Deprecation**
If the old flags are used in a JDK build without the C2 compiler, a deprecation warning will be printed.