[13] RFR (S): 8059241: C2: Excessive RemoveUseless passes during incremental inlining

Roland Westrelin rwestrel at redhat.com
Fri Jan 25 09:09:00 UTC 2019


> diff --git a/src/hotspot/share/opto/compile.cpp 
> b/src/hotspot/share/opto/compile.cpp
> --- a/src/hotspot/share/opto/compile.cpp
> +++ b/src/hotspot/share/opto/compile.cpp
> @@ -2089,7 +2089,7 @@
>
>     set_inlining_progress(false);
>     set_do_cleanup(false);
> -  return inlining_progress() && !needs_cleanup;
> +  return (_late_inlines.length() > 0) && !needs_cleanup;
>   }
>

That looks good to me.

Roland.


More information about the hotspot-compiler-dev mailing list