comparison src/share/vm/code/codeCache.hpp @ 10031:ebb32c4589f3

Force GC to process graal_installed_code references during marking (GRAAL-257)
author Christos Kotselidis <christos.kotselidis@oracle.com>
date Tue, 11 Jun 2013 19:59:52 +0200
parents 3c786355ffb4
children 4a7dc38ae96b
comparison
equal deleted inserted replaced
9998:e85afceb39e7 10031:ebb32c4589f3
79 static bool contains(void *p); // returns whether p is included 79 static bool contains(void *p); // returns whether p is included
80 static void blobs_do(void f(CodeBlob* cb)); // iterates over all CodeBlobs 80 static void blobs_do(void f(CodeBlob* cb)); // iterates over all CodeBlobs
81 static void blobs_do(CodeBlobClosure* f); // iterates over all CodeBlobs 81 static void blobs_do(CodeBlobClosure* f); // iterates over all CodeBlobs
82 static void nmethods_do(void f(nmethod* nm)); // iterates over all nmethods 82 static void nmethods_do(void f(nmethod* nm)); // iterates over all nmethods
83 static void alive_nmethods_do(void f(nmethod* nm)); // iterates over all alive nmethods 83 static void alive_nmethods_do(void f(nmethod* nm)); // iterates over all alive nmethods
84 84 #ifdef GRAAL
85 //Special method iterating and adding to the mark stack all HotSpotNMethods which are weakly referenced by nmethods.
86 //This has to be done since the HotSpotNMethods are only referenced from within the nmethods and the GC
87 //believes they are dead since they are not marked.
88 static void alive_nmethods_do_graal_methods(OopClosure* closure);
89 #endif
85 // Lookup 90 // Lookup
86 static CodeBlob* find_blob(void* start); 91 static CodeBlob* find_blob(void* start);
87 static nmethod* find_nmethod(void* start); 92 static nmethod* find_nmethod(void* start);
88 93
89 // Lookup that does not fail if you lookup a zombie method (if you call this, be sure to know 94 // Lookup that does not fail if you lookup a zombie method (if you call this, be sure to know