diff src/share/vm/graal/graalCompilerToVM.cpp @ 9519:af0b79174c3d

exposed whether ASSERT is defined to Java code and use it to enable checks in ExceptionHandlerStub
author Doug Simon <doug.simon@oracle.com>
date Thu, 02 May 2013 17:17:11 +0200
parents 5fa54bf57f8c
children 99ef9bcb3f32
line wrap: on
line diff
--- a/src/share/vm/graal/graalCompilerToVM.cpp	Thu May 02 17:16:00 2013 +0200
+++ b/src/share/vm/graal/graalCompilerToVM.cpp	Thu May 02 17:17:11 2013 +0200
@@ -634,6 +634,7 @@
 #else
   set_boolean("windowsOs", false);
 #endif
+  set_boolean("cAssertions", DEBUG_ONLY(true) NOT_DEBUG(false));
   set_boolean("verifyOops", VerifyOops);
   set_boolean("ciTime", CITime);
   set_boolean("compileTheWorld", CompileTheWorld);