Skip to content

Commit

Permalink
Merge pull request #3184 from ashu-mehra/enable_container_support_def…
Browse files Browse the repository at this point in the history
…ault

Enable container support by default
  • Loading branch information
DanHeidinga committed Oct 10, 2018
2 parents 4d0cc96 + 0a5212d commit 27aedbb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion runtime/vm/jvminit.c
Original file line number Diff line number Diff line change
Expand Up @@ -1890,7 +1890,8 @@ IDATA VMInitStages(J9JavaVM *vm, IDATA stage, void* reserved) {
argIndex = FIND_AND_CONSUME_ARG(EXACT_MATCH, VMOPT_XXUSECONTAINERSUPPORT, NULL);
argIndex2 = FIND_AND_CONSUME_ARG(EXACT_MATCH, VMOPT_XXNOUSECONTAINERSUPPORT, NULL);

if (argIndex > argIndex2) {
/* Enable -XX:+UseContainerSupport by default */
if (argIndex >= argIndex2) {
OMRPORT_ACCESS_FROM_J9PORT(vm->portLibrary);
uint64_t subsystemsEnabled = omrsysinfo_cgroup_enable_subsystems(OMR_CGROUP_SUBSYSTEM_ALL);

Expand Down

0 comments on commit 27aedbb

Please sign in to comment.