JDK-8199406 : Performance drop with Java JDK 1.8.0_162-b32
  • Type: Bug
  • Component: hotspot
  • Sub-Component: gc
  • Affected Version: 8u162
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-03-09
  • Updated: 2019-01-14
  • Resolved: 2018-03-30
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 8
11 b10Fixed 8u162Fixed
Description
After upgrading from JDK 1.8.0_152-b31 to 1.8.0_162-b32 on JBoss application 
there are reports of performance drops on Solaris SPARC 64
Comments
This bug is applicable to 10u. The fix from 11 can easily be backported to 10 if anyone in the community wants to take it to their JDK 10 version.
13-06-2018

The performance drop is mainly caused by the linear search of itable stubs in VtableStubs::_table[] array while unloading nmethods. bool CompiledIC::is_icholder_entry(address entry) { CodeBlob* cb = CodeCache::find_blob_unsafe(entry); return (cb != NULL && cb->is_adapter_blob()); if (cb != NULL && cb->is_adapter_blob()) { return true; } // itable stubs also use CompiledICHolder if (VtableStubs::is_entry_point(entry) && VtableStubs::stub_containing(entry)->is_itable_stub()) { return true; } return false; } The fix would be to optimize this search.
29-03-2018