1. Construct Frames directly without BitSet 2. Use Frame[] instead of ArrayList 3. Use EMPTY_FRAME_ARRAY for initialization. No need to allocate objects when there is no frame.
------------- Commit messages: - bug fix - Use Frame[] instead of List<Frame> - frame out of BytecodeRange - optimize StackMapGenerator::generate Changes: https://git.openjdk.org/jdk/pull/21183/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21183&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8341006 Stats: 127 lines in 1 file changed: 59 ins; 37 del; 31 mod Patch: https://git.openjdk.org/jdk/pull/21183.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/21183/head:pull/21183 PR: https://git.openjdk.org/jdk/pull/21183