comparison src/share/vm/graal/graalRuntime.cpp @ 16275:7af7db0bbfe9

handle unwinding exception through recursive call properly
author Doug Simon <doug.simon@oracle.com>
date Fri, 27 Jun 2014 23:00:27 +0200
parents 60c3f610183e
children da8f16efaa4c
comparison
equal deleted inserted replaced
16274:60c3f610183e 16275:7af7db0bbfe9
776 } 776 }
777 777
778 if (!recognized) { 778 if (!recognized) {
779 bool throw_err = hotSpotOptionsClass.is_null(); 779 bool throw_err = hotSpotOptionsClass.is_null();
780 if (!hotSpotOptionsClass.is_null()) { 780 if (!hotSpotOptionsClass.is_null()) {
781 instanceKlassHandle ikh(hotSpotOptionsClass()); 781 set_option_helper(hotSpotOptionsClass, name, name_len, Handle(), ' ', Handle(), 0L);
782 if (!ikh->is_reentrant_initialization(THREAD)) { 782 if (!HAS_PENDING_EXCEPTION) {
783 set_option_helper(hotSpotOptionsClass, name, name_len, Handle(), ' ', Handle(), 0L);
784 throw_err = true; 783 throw_err = true;
785 } 784 }
786 } 785 }
787 786
788 if (throw_err) { 787 if (throw_err) {