1.1 --- a/src/share/vm/memory/resourceArea.hpp Mon Jul 24 15:19:46 2017 -0400 1.2 +++ b/src/share/vm/memory/resourceArea.hpp Tue Nov 28 11:34:15 2017 -0500 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -49,11 +49,11 @@ 1.11 debug_only(static int _warned;) // to suppress multiple warnings 1.12 1.13 public: 1.14 - ResourceArea() : Arena(mtThread) { 1.15 + ResourceArea(MEMFLAGS flags = mtThread) : Arena(flags) { 1.16 debug_only(_nesting = 0;) 1.17 } 1.18 1.19 - ResourceArea(size_t init_size) : Arena(mtThread, init_size) { 1.20 + ResourceArea(size_t init_size, MEMFLAGS flags = mtThread) : Arena(flags, init_size) { 1.21 debug_only(_nesting = 0;); 1.22 } 1.23