Mercurial > hg > truffle
comparison src/share/vm/memory/metaspace.cpp @ 8744:15401203db6b
Merge
author | stefank |
---|---|
date | Fri, 15 Mar 2013 08:57:55 +0100 |
parents | 1c88b99a2b01 3efdfd6ddbf2 |
children | 82ab039b9680 19f9fabd94cc |
comparison
equal
deleted
inserted
replaced
8743:82657b6a8cc0 | 8744:15401203db6b |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2011, 2013, 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. |
50 | 50 |
51 // Parameters for stress mode testing | 51 // Parameters for stress mode testing |
52 const uint metadata_deallocate_a_lot_block = 10; | 52 const uint metadata_deallocate_a_lot_block = 10; |
53 const uint metadata_deallocate_a_lock_chunk = 3; | 53 const uint metadata_deallocate_a_lock_chunk = 3; |
54 size_t const allocation_from_dictionary_limit = 64 * K; | 54 size_t const allocation_from_dictionary_limit = 64 * K; |
55 const size_t metadata_deallocate = 0xf5f5f5f5; | |
56 | 55 |
57 MetaWord* last_allocated = 0; | 56 MetaWord* last_allocated = 0; |
58 | 57 |
59 // Used in declarations in SpaceManager and ChunkManager | 58 // Used in declarations in SpaceManager and ChunkManager |
60 enum ChunkIndex { | 59 enum ChunkIndex { |