8222379: JFR TestClassLoadEvent.java failed due to EXCEPTION_ACCESS_VIOLATION

Give fatal error if CDS loses archive mapping.

Reviewed-by: iklam, ccheung, jiangli
This commit is contained in:
Coleen Phillimore 2019-04-18 07:02:07 -04:00
parent 133401ac02
commit 733d251078
5 changed files with 32 additions and 17 deletions

View file

@ -279,8 +279,10 @@
#if INCLUDE_JFR
#define JFR_ONLY(code) code
#define NOT_JFR_RETURN_(code) /* next token must be ; */
#else
#define JFR_ONLY(code)
#define NOT_JFR_RETURN_(code) { return code; }
#endif
#ifndef INCLUDE_JVMCI