public class ApplyHotSpotWorkaround extends Object
stateLoop
method in the
tokenizer into two methods. This way, each method stays under 8000 bytes in
size. By default, HotSpot doesn't compile methods that are over 8000 bytes in
size, which is a performance problem.
This program should have been written in Perl, but to avoid introducing new
dependencies, it's written in Java. No attempt at efficiency has been made.
Warning! This modifies Tokenizer.java in place!Constructor and Description |
---|
ApplyHotSpotWorkaround() |
Copyright © 2017. All rights reserved.