-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add configure support to enable RAM class persistence #770
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,6 +48,7 @@ AC_DEFUN_ONCE([CUSTOM_EARLY_HOOK], | |
OPENJ9_CONFIGURE_JFR | ||
OPENJ9_CONFIGURE_JITSERVER | ||
OPENJ9_CONFIGURE_OPENJDK_METHODHANDLES | ||
OPENJ9_CONFIGURE_SNAPSHOTS | ||
OPENJ9_CONFIGURE_WARNINGS | ||
if test "x$OPENJDK_TARGET_OS" = xwindows ; then | ||
|
@@ -375,6 +376,25 @@ AC_DEFUN([OPENJ9_CONFIGURE_OPENJDK_METHODHANDLES], | |
AC_SUBST(OPENJ9_ENABLE_OPENJDK_METHODHANDLES) | ||
]) | ||
|
||
AC_DEFUN([OPENJ9_CONFIGURE_SNAPSHOTS], | ||
[ | ||
AC_MSG_CHECKING([for snapshot support]) | ||
AC_ARG_ENABLE([snapshots], [AS_HELP_STRING([--enable-snapshots], | ||
[enable RAM persistence snapshots @<:@disabled@:>@])]) | ||
OPENJ9_ENABLE_SNAPSHOTS=false | ||
if test "x$enable_snapshots" = xyes ; then | ||
AC_MSG_RESULT([yes (explicitly enabled)]) | ||
OPENJ9_ENABLE_SNAPSHOTS=true | ||
elif test "x$enable_snapshots" = xno ; then | ||
AC_MSG_RESULT([no (explicit)]) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why does this not say There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You're right. This is a mistake. I will open new PR to address any concerns you have here. |
||
elif test "x$enable_snapshots" = x ; then | ||
AC_MSG_RESULT([no (default)]) | ||
else | ||
AC_MSG_ERROR([--enable-snapshots accepts no argument]) | ||
fi | ||
AC_SUBST(OPENJ9_ENABLE_SNAPSHOTS) | ||
]) | ||
|
||
AC_DEFUN([OPENJ9_CONFIGURE_WARNINGS], | ||
[ | ||
AC_ARG_ENABLE([warnings-as-errors-omr], [AS_HELP_STRING([--disable-warnings-as-errors-omr], | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -61,6 +61,7 @@ OPENJ9_ENABLE_DEMOS := @OPENJ9_ENABLE_DEMOS@ | |
OPENJ9_ENABLE_JFR := @OPENJ9_ENABLE_JFR@ | ||
OPENJ9_ENABLE_JITSERVER := @OPENJ9_ENABLE_JITSERVER@ | ||
OPENJ9_ENABLE_OPENJDK_METHODHANDLES := @OPENJ9_ENABLE_OPENJDK_METHODHANDLES@ | ||
OPENJ9_ENABLE_SNAPSHOTS := @OPENJ9_ENABLE_SNAPSHOTS@ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Tabs should only be used for indentation (not after any non-whitespace character). |
||
|
||
# for constructing version output | ||
COMPILER_VERSION_STRING := @COMPILER_VERSION_STRING@ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just noticed this is incorrect too. I had forgotten to push the most recent changes before this was merged.