Mercurial > hg > graal-compiler
comparison src/share/vm/memory/genCollectedHeap.hpp @ 1833:8b10f48633dc
6984287: Regularize how GC parallel workers are specified.
Summary: Associate number of GC workers with the workgang as opposed to the task.
Reviewed-by: johnc, ysr
author | jmasa |
---|---|
date | Mon, 20 Sep 2010 14:38:38 -0700 |
parents | c18cbe5936b8 |
children | a7214d79fcf1 |
comparison
equal
deleted
inserted
replaced
1781:97fbf5beff7b | 1833:8b10f48633dc |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2000, 2009, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2000, 2010, 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. |
72 unsigned int _full_collections_completed; | 72 unsigned int _full_collections_completed; |
73 | 73 |
74 // Data structure for claiming the (potentially) parallel tasks in | 74 // Data structure for claiming the (potentially) parallel tasks in |
75 // (gen-specific) strong roots processing. | 75 // (gen-specific) strong roots processing. |
76 SubTasksDone* _gen_process_strong_tasks; | 76 SubTasksDone* _gen_process_strong_tasks; |
77 SubTasksDone* gen_process_strong_tasks() { return _gen_process_strong_tasks; } | |
77 | 78 |
78 // In block contents verification, the number of header words to skip | 79 // In block contents verification, the number of header words to skip |
79 NOT_PRODUCT(static size_t _skip_header_HeapWords;) | 80 NOT_PRODUCT(static size_t _skip_header_HeapWords;) |
80 | 81 |
81 // GC is not allowed during the dump of the shared classes. Keep track | 82 // GC is not allowed during the dump of the shared classes. Keep track |