mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 10:34:38 +02:00
8023905: Failing to initialize VM with small initial heap when NUMA and large pages are enabled
Exit VM when fails to initialize small initial heap with NUMA and large pages enabled Reviewed-by: jmasa, sjohanss
This commit is contained in:
parent
e44e774bbe
commit
d86c76dca9
3 changed files with 117 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2006, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2006, 2016, 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
|
||||
|
@ -145,6 +145,8 @@ class MutableNUMASpace : public MutableSpace {
|
|||
size_t _page_size;
|
||||
unsigned _adaptation_cycles, _samples_count;
|
||||
|
||||
bool _must_use_large_pages;
|
||||
|
||||
void set_page_size(size_t psz) { _page_size = psz; }
|
||||
size_t page_size() const { return _page_size; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue