1.1 --- a/src/os/bsd/vm/perfMemory_bsd.cpp Mon Jun 10 11:30:51 2013 +0200 1.2 +++ b/src/os/bsd/vm/perfMemory_bsd.cpp Thu Jun 13 11:16:38 2013 -0700 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2001, 2012, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2001, 2013, 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 @@ -60,7 +60,7 @@ 1.11 } 1.12 1.13 // commit memory 1.14 - if (!os::commit_memory(mapAddress, size)) { 1.15 + if (!os::commit_memory(mapAddress, size, !ExecMem)) { 1.16 if (PrintMiscellaneous && Verbose) { 1.17 warning("Could not commit PerfData memory\n"); 1.18 }