JDK-8062929 : WB_ClearMethodState doesn’t clear the method state
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 9,10,11
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2014-11-05
  • Updated: 2022-02-26
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.
Other
tbdUnresolved
Related Reports
Relates :  
Description
On 11/05/2014 04:00 PM, Roland Westrelin wrote:
FWIW, I find this use of clean_method_data() misleading. clean_method_data only removes the klass/method references and it doesn’t reset counters or remove recorded traps so WB_ClearMethodState() doesn’t really clear the method state. It would be better, I think, if you had your own method in MethodData to clean everything.

Comments
[~roland], would you agree that it's solved?
05-06-2019

ILW=Incorrect behaviour in dev API, WB call only, none=MLH=P4
05-11-2014