comparison src/share/vm/utilities/globalDefinitions.hpp @ 2152:0fa27f37d4d4

6977804: G1: remove the zero-filling thread Summary: This changeset removes the zero-filling thread from G1 and collapses the two free region lists we had before (the "free" and "unclean" lists) into one. The new free list uses the new heap region sets / lists abstractions that we'll ultimately use it to keep track of all regions in the heap. A heap region set was also introduced for the humongous regions. Finally, this change increases the concurrency between the thread that completes freeing regions (after a cleanup pause) and the rest of the system (before we'd have to wait for said thread to complete before allocating a new region). The changest also includes a lot of refactoring and code simplification. Reviewed-by: jcoomes, johnc
author tonyp
date Wed, 19 Jan 2011 19:30:42 -0500
parents f95d63e2154a
children d25d4ca69222 b92c45f2bc75
comparison
equal deleted inserted replaced
2151:cb913d743d09 2152:0fa27f37d4d4
1 /* 1 /*
2 * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1997, 2011, 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.
1177 // Each compiler-specific definitions file (e.g., globalDefinitions_gcc.hpp) 1177 // Each compiler-specific definitions file (e.g., globalDefinitions_gcc.hpp)
1178 // must define the macro FORMAT64_MODIFIER, which is the modifier for '%x' or 1178 // must define the macro FORMAT64_MODIFIER, which is the modifier for '%x' or
1179 // '%d' formats to indicate a 64-bit quantity; commonly "l" (in LP64) or "ll" 1179 // '%d' formats to indicate a 64-bit quantity; commonly "l" (in LP64) or "ll"
1180 // (in ILP32). 1180 // (in ILP32).
1181 1181
1182 #define BOOL_TO_STR(__b) (__b) ? "true" : "false"
1183
1182 // Format 32-bit quantities. 1184 // Format 32-bit quantities.
1183 #define INT32_FORMAT "%d" 1185 #define INT32_FORMAT "%d"
1184 #define UINT32_FORMAT "%u" 1186 #define UINT32_FORMAT "%u"
1185 #define INT32_FORMAT_W(width) "%" #width "d" 1187 #define INT32_FORMAT_W(width) "%" #width "d"
1186 #define UINT32_FORMAT_W(width) "%" #width "u" 1188 #define UINT32_FORMAT_W(width) "%" #width "u"