< prev index next >

src/hotspot/share/oops/methodData.cpp

Print this page

        

*** 894,904 **** guarantee_failed_speculations_alive(nm, failed_speculations_address); FailedSpeculation** cursor = failed_speculations_address; do { if (*cursor == NULL) { ! FailedSpeculation* old_fs = Atomic::cmpxchg(fs, cursor, (FailedSpeculation*) NULL); if (old_fs == NULL) { // Successfully appended fs to end of the list return true; } cursor = old_fs->next_adr(); --- 894,904 ---- guarantee_failed_speculations_alive(nm, failed_speculations_address); FailedSpeculation** cursor = failed_speculations_address; do { if (*cursor == NULL) { ! FailedSpeculation* old_fs = Atomic::cmpxchg(cursor, (FailedSpeculation*) NULL, fs); if (old_fs == NULL) { // Successfully appended fs to end of the list return true; } cursor = old_fs->next_adr();
< prev index next >