equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
474 // limits the given memory size by the maximum amount of memory this process is |
474 // limits the given memory size by the maximum amount of memory this process is |
475 // currently allowed to allocate or reserve. |
475 // currently allowed to allocate or reserve. |
476 static julong limit_by_allocatable_memory(julong size); |
476 static julong limit_by_allocatable_memory(julong size); |
477 // Setup heap size |
477 // Setup heap size |
478 static void set_heap_size(); |
478 static void set_heap_size(); |
479 // Based on automatic selection criteria, should the |
|
480 // low pause collector be used. |
|
481 static bool should_auto_select_low_pause_collector(); |
|
482 |
479 |
483 // Bytecode rewriting |
480 // Bytecode rewriting |
484 static void set_bytecode_flags(); |
481 static void set_bytecode_flags(); |
485 |
482 |
486 // Invocation API hooks |
483 // Invocation API hooks |