Mercurial > hg > openjdk > bsd-port > hotspot
changeset 5695:aab9d2a9f8ad
Merge
author | asaha |
---|---|
date | Fri, 07 Nov 2014 14:21:48 -0800 |
parents | 58e0aa04277e (current diff) dfcf951330b6 (diff) |
children | 1a541db99742 |
files | make/hotspot_version |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/os_cpu/linux_x86/vm/os_linux_x86.cpp Mon Nov 03 12:25:50 2014 -0800 +++ b/src/os_cpu/linux_x86/vm/os_linux_x86.cpp Fri Nov 07 14:21:48 2014 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1999, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -899,7 +899,7 @@ */ char* hint = (char*) (Linux::initial_thread_stack_bottom() - ((StackYellowPages + StackRedPages + 1) * page_size)); - char* codebuf = os::reserve_memory(page_size, hint); + char* codebuf = os::pd_attempt_reserve_memory_at(page_size, hint); if ( (codebuf == NULL) || (!os::commit_memory(codebuf, page_size, true)) ) { return; // No matter, we tried, best effort. }