mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 01:54:47 +02:00
8171365: nsk/jvmti/scenarios/events/EM04/em04t001: many errors for missed events
Fix CodeCache:blobs_do() so it iterates over all code cache heaps Reviewed-by: sspitsyn, thartmann
This commit is contained in:
parent
501fdbaf15
commit
c04bd11452
1 changed files with 1 additions and 1 deletions
|
@ -620,7 +620,7 @@ nmethod* CodeCache::find_nmethod(void* start) {
|
||||||
|
|
||||||
void CodeCache::blobs_do(void f(CodeBlob* nm)) {
|
void CodeCache::blobs_do(void f(CodeBlob* nm)) {
|
||||||
assert_locked_or_safepoint(CodeCache_lock);
|
assert_locked_or_safepoint(CodeCache_lock);
|
||||||
FOR_ALL_NMETHOD_HEAPS(heap) {
|
FOR_ALL_HEAPS(heap) {
|
||||||
FOR_ALL_BLOBS(cb, *heap) {
|
FOR_ALL_BLOBS(cb, *heap) {
|
||||||
f(cb);
|
f(cb);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue