Mercurial > hg > truffle
comparison src/share/vm/code/codeCache.hpp @ 11198:1e6d5dec4a4e
Merge.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Mon, 05 Aug 2013 13:20:06 +0200 |
parents | f22cbff51c12 |
children | cefad50507d8 |
comparison
equal
deleted
inserted
replaced
11197:3479ab380552 | 11198:1e6d5dec4a4e |
---|---|
83 static bool contains(void *p); // returns whether p is included | 83 static bool contains(void *p); // returns whether p is included |
84 static void blobs_do(void f(CodeBlob* cb)); // iterates over all CodeBlobs | 84 static void blobs_do(void f(CodeBlob* cb)); // iterates over all CodeBlobs |
85 static void blobs_do(CodeBlobClosure* f); // iterates over all CodeBlobs | 85 static void blobs_do(CodeBlobClosure* f); // iterates over all CodeBlobs |
86 static void nmethods_do(void f(nmethod* nm)); // iterates over all nmethods | 86 static void nmethods_do(void f(nmethod* nm)); // iterates over all nmethods |
87 static void alive_nmethods_do(void f(nmethod* nm)); // iterates over all alive nmethods | 87 static void alive_nmethods_do(void f(nmethod* nm)); // iterates over all alive nmethods |
88 #ifdef GRAAL | 88 |
89 //Special method iterating and marking all HotSpotNMethods which are weakly referenced by nmethods. | |
90 //This has to be done since the HotSpotNMethods are only referenced from within the nmethods and the GC | |
91 //believes they are dead since they are not marked. | |
92 static void alive_nmethods_do_graal_methods(OopClosure* closure); | |
93 #endif | |
94 // Lookup | 89 // Lookup |
95 static CodeBlob* find_blob(void* start); | 90 static CodeBlob* find_blob(void* start); |
96 static nmethod* find_nmethod(void* start); | 91 static nmethod* find_nmethod(void* start); |
97 | 92 |
98 // Lookup that does not fail if you lookup a zombie method (if you call this, be sure to know | 93 // Lookup that does not fail if you lookup a zombie method (if you call this, be sure to know |