8202319: Fix compilation warnings in Solaris debug builds for DevStudio 12.6
Disable warnings. Reviewed-by: dholmes, kbarrett
This commit is contained in:
parent
69c55eb2de
commit
dd34d29a46
src/hotspot/share
@ -1103,6 +1103,9 @@ void frame::oops_entry_do(OopClosure* f, const RegisterMap* map) {
|
||||
|
||||
void frame::oops_do_internal(OopClosure* f, CodeBlobClosure* cf, RegisterMap* map, bool use_interpreter_oop_map_cache) {
|
||||
#ifndef PRODUCT
|
||||
#if defined(__SUNPRO_CC) && __SUNPRO_CC >= 0x5140
|
||||
#pragma error_messages(off, SEC_NULL_PTR_DEREF)
|
||||
#endif
|
||||
// simulate GC crash here to dump java thread in error report
|
||||
if (CrashGCForDumpingJavaThread) {
|
||||
char *t = NULL;
|
||||
|
@ -1620,6 +1620,9 @@ bool VMError::check_timeout() {
|
||||
}
|
||||
|
||||
#ifndef PRODUCT
|
||||
#if defined(__SUNPRO_CC) && __SUNPRO_CC >= 0x5140
|
||||
#pragma error_messages(off, SEC_NULL_PTR_DEREF)
|
||||
#endif
|
||||
typedef void (*voidfun_t)();
|
||||
// Crash with an authentic sigfpe
|
||||
static void crash_with_sigfpe() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user