comparison src/share/vm/memory/metaspaceShared.cpp @ 20649:3375833a603e

8064375: Change certain errors to warnings in CDS output. Summary: Change CDS non-fatal preloading errors to warnings. Reviewed-by: minqi, mseledtsov, coleenp
author jiangli
date Mon, 10 Nov 2014 19:28:51 -0500
parents 4cb90023bf2b
children 0558eb13dcf3
comparison
equal deleted inserted replaced
20648:10842d23f20a 20649:3375833a603e
849 BytecodeVerificationLocal = BytecodeVerificationRemote; 849 BytecodeVerificationLocal = BytecodeVerificationRemote;
850 } 850 }
851 ik->link_class(THREAD); 851 ik->link_class(THREAD);
852 if (HAS_PENDING_EXCEPTION) { 852 if (HAS_PENDING_EXCEPTION) {
853 ResourceMark rm; 853 ResourceMark rm;
854 tty->print_cr("Preload Error: Verification failed for %s", 854 tty->print_cr("Preload Warning: Verification failed for %s",
855 ik->external_name()); 855 ik->external_name());
856 CLEAR_PENDING_EXCEPTION; 856 CLEAR_PENDING_EXCEPTION;
857 ik->set_in_error_state(); 857 ik->set_in_error_state();
858 _has_error_classes = true; 858 _has_error_classes = true;
859 } 859 }