comparison src/share/vm/code/nmethod.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 197426668a5d
children 9c7d9e2c8326
comparison
equal deleted inserted replaced
9998:e85afceb39e7 10031:ebb32c4589f3
741 // redefine classes doesn't purge it. 741 // redefine classes doesn't purge it.
742 static void mark_on_stack(nmethod* nm) { 742 static void mark_on_stack(nmethod* nm) {
743 nm->metadata_do(Metadata::mark_on_stack); 743 nm->metadata_do(Metadata::mark_on_stack);
744 } 744 }
745 void metadata_do(void f(Metadata*)); 745 void metadata_do(void f(Metadata*));
746
747 #ifdef GRAAL
748 void mark_graal_reference(OopClosure* f);
749 #endif
746 }; 750 };
747 751
748 // Locks an nmethod so its code will not get removed and it will not 752 // Locks an nmethod so its code will not get removed and it will not
749 // be made into a zombie, even if it is a not_entrant method. After the 753 // be made into a zombie, even if it is a not_entrant method. After the
750 // nmethod becomes a zombie, if CompiledMethodUnload event processing 754 // nmethod becomes a zombie, if CompiledMethodUnload event processing