In CodeCache::find_blob methods, we're doing virtual calls to each CodeHeap, resulting in up to 4 virtual calls (when AOT is enabled).
By refactoring so that more code is shared between AOTCodeHeap and CodeHeap, we can reduce the number of virtual calls per find_blob call, effectively speeding up stack walking.
By refactoring so that more code is shared between AOTCodeHeap and CodeHeap, we can reduce the number of virtual calls per find_blob call, effectively speeding up stack walking.
- relates to
-
JDK-8187091 ReturnBlobToWrongHeapTest fails because of problems in CodeHeap::contains_blob()
-
- Resolved
-
-
JDK-8184337 CodeCache::get_code_cache_containing wrongly asserts that start can not be NULL
-
- Resolved
-