8171365: nsk/jvmti/scenarios/events/EM04/em04t001: many errors for missed events
authorcjplummer
Wed, 07 Jun 2017 08:56:35 -0700
changeset 46527 df19f7e4b9f7
parent 46526 519f1fbec7af
child 46528 cf0da758e7b5
8171365: nsk/jvmti/scenarios/events/EM04/em04t001: many errors for missed events Summary: fix CodeCache:blobs_do() so it iterates over all code cache heaps Reviewed-by: sspitsyn, thartmann
hotspot/src/share/vm/code/codeCache.cpp
--- a/hotspot/src/share/vm/code/codeCache.cpp	Wed Jun 07 12:23:04 2017 +0200
+++ b/hotspot/src/share/vm/code/codeCache.cpp	Wed Jun 07 08:56:35 2017 -0700
@@ -620,7 +620,7 @@
 
 void CodeCache::blobs_do(void f(CodeBlob* nm)) {
   assert_locked_or_safepoint(CodeCache_lock);
-  FOR_ALL_NMETHOD_HEAPS(heap) {
+  FOR_ALL_HEAPS(heap) {
     FOR_ALL_BLOBS(cb, *heap) {
       f(cb);
     }