-
Enhancement
-
Resolution: Fixed
-
P4
-
None
Some of the performance sensitive components of Classfile API can be improved:
- Switch over `String` patterns can be replaced with switch over single char in some case to prevent calculation of `String` hash.
- `ClassDesc` and `MethodTypeDesc` symbols can be cached and shared inside relevant CP entries to prevent repeated construction and validation of the symbols.
- `StackMapGenerator` can benefit from the cached symbols to prevent repeated construction and validation of the symbols.
- `StackMapGenerator::getFrameIndexFromOffset` can use binary search for improved performance
- `StackMapGenerator.exceptionTable` can pre-calculate offsets to avoid repeated labels resolutions.
- `StackMapGenerator::processExceptionHandlerTargets` can skip execution for try block bodies when unchanged locals.
- Switch over `String` patterns can be replaced with switch over single char in some case to prevent calculation of `String` hash.
- `ClassDesc` and `MethodTypeDesc` symbols can be cached and shared inside relevant CP entries to prevent repeated construction and validation of the symbols.
- `StackMapGenerator` can benefit from the cached symbols to prevent repeated construction and validation of the symbols.
- `StackMapGenerator::getFrameIndexFromOffset` can use binary search for improved performance
- `StackMapGenerator.exceptionTable` can pre-calculate offsets to avoid repeated labels resolutions.
- `StackMapGenerator::processExceptionHandlerTargets` can skip execution for try block bodies when unchanged locals.
- duplicates
-
JDK-8305669 RuntimeException when running benchmarks through make on Windows/WSL
-
- Closed
-
- relates to
-
JDK-8305669 RuntimeException when running benchmarks through make on Windows/WSL
-
- Closed
-