Duplicate :
|
InstalledCode.invalidate can be used for direct invalidation of an nmethod. The current code reuses VM_Deoptimize which scans the entire code cache to find the nmethod and make it not entrant. This is obviously inefficient for large code caches.
|