RFR 8038418 New tests development for type profiling and speculation
Roland Westrelin
roland.westrelin at oracle.com
Thu Apr 10 07:51:06 UTC 2014
> http://cr.openjdk.java.net/~iignatyev/ppunegov/8038418/webrev.02/
Thanks Pavel. Overall that looks good to me. But this:
67 public Integer run(T obj) {
68 if (isReturnType) {
69 T t = collectReturnType(obj);
70 return inlinee(t);
71 } else {
72 return inlinee(obj);
73 }
74 }
exercises profiling from parameter obj to the run method at line 72 and from return value from collectReturnType at line 70 but not from any argument profiling. You could have a 3rd case where obj is loaded from the current instance and passed to inlinee(). Then it would use argument profiling.
Roland.
More information about the hotspot-compiler-dev
mailing list