Mercurial > hg > truffle
comparison src/share/vm/code/nmethod.cpp @ 10939:f22cbff51c12
Remove forced addition of Graal's oop during weak root processing (creates race condition)
author | Christos Kotselidis <christos.kotselidis@oracle.com> |
---|---|
date | Fri, 02 Aug 2013 13:31:31 +0200 |
parents | d55f24eac4b1 |
children | d0aeaf72c7bd |
comparison
equal
deleted
inserted
replaced
10937:87d9b5518065 | 10939:f22cbff51c12 |
---|---|
1858 } | 1858 } |
1859 // Check that the metadata embedded in the nmethod is alive | 1859 // Check that the metadata embedded in the nmethod is alive |
1860 CheckClass::do_check_class(is_alive, this); | 1860 CheckClass::do_check_class(is_alive, this); |
1861 #endif | 1861 #endif |
1862 } | 1862 } |
1863 | |
1864 #ifdef GRAAL | |
1865 void nmethod::mark_graal_reference(OopClosure* f) { | |
1866 if (_graal_installed_code != NULL) { | |
1867 f->do_oop((oop*) &_graal_installed_code); | |
1868 } | |
1869 } | |
1870 #endif | |
1871 | 1863 |
1872 // Iterate over metadata calling this function. Used by RedefineClasses | 1864 // Iterate over metadata calling this function. Used by RedefineClasses |
1873 void nmethod::metadata_do(void f(Metadata*)) { | 1865 void nmethod::metadata_do(void f(Metadata*)) { |
1874 address low_boundary = verified_entry_point(); | 1866 address low_boundary = verified_entry_point(); |
1875 if (is_not_entrant()) { | 1867 if (is_not_entrant()) { |