Loading... (original) (raw)

MethodHandleImpl::profileBoolean doesn't update never-taken branch count when hitting a deopt on it.
As a result, for rarely taken branches consequent compilations consider them as never-taken and prune them again, causing repeated deopts. It severely affects peak performance.

backported by

Backport - A issue that is required to port a Bug or Feature into another product release. This issue type is generally associated with the main Bug/Feature to represent each individual release of the port. JDK-8074549 Never-taken branches cause repeated deopts in MHs.GWT case

Backport - A issue that is required to port a Bug or Feature into another product release. This issue type is generally associated with the main Bug/Feature to represent each individual release of the port. JDK-8079946 Never-taken branches cause repeated deopts in MHs.GWT case

Backport - A issue that is required to port a Bug or Feature into another product release. This issue type is generally associated with the main Bug/Feature to represent each individual release of the port. JDK-8082629 Never-taken branches cause repeated deopts in MHs.GWT case

Backport - A issue that is required to port a Bug or Feature into another product release. This issue type is generally associated with the main Bug/Feature to represent each individual release of the port. JDK-8086498 Never-taken branches cause repeated deopts in MHs.GWT case

Backport - A issue that is required to port a Bug or Feature into another product release. This issue type is generally associated with the main Bug/Feature to represent each individual release of the port. JDK-8137543 Never-taken branches cause repeated deopts in MHs.GWT case