Mercurial > hg > graal-compiler
comparison src/share/vm/gc_implementation/g1/g1_globals.hpp @ 7612:4967eb4f67a9
8001425: G1: Change the default values for certain G1 specific flags
Summary: Changes to default and ergonomic flag values recommended by performance team. Changes were also reviewed by Monica Beckwith <monica.beckwith@oracle.com>.
Reviewed-by: brutisso, huntch
author | johnc |
---|---|
date | Tue, 15 Jan 2013 12:32:26 -0800 |
parents | 37f7535e5f18 |
children | f64ffbf81af5 96a337d307bd |
comparison
equal
deleted
inserted
replaced
7611:ff0a7943fd29 | 7612:4967eb4f67a9 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2001, 2012, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2001, 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. |
285 \ | 285 \ |
286 develop(uintx, G1ConcMarkForceOverflow, 0, \ | 286 develop(uintx, G1ConcMarkForceOverflow, 0, \ |
287 "The number of times we'll force an overflow during " \ | 287 "The number of times we'll force an overflow during " \ |
288 "concurrent marking") \ | 288 "concurrent marking") \ |
289 \ | 289 \ |
290 experimental(uintx, G1NewSizePercent, 20, \ | 290 experimental(uintx, G1NewSizePercent, 5, \ |
291 "Percentage (0-100) of the heap size to use as default " \ | 291 "Percentage (0-100) of the heap size to use as default " \ |
292 "minimum young gen size.") \ | 292 "minimum young gen size.") \ |
293 \ | 293 \ |
294 experimental(uintx, G1MaxNewSizePercent, 80, \ | 294 experimental(uintx, G1MaxNewSizePercent, 60, \ |
295 "Percentage (0-100) of the heap size to use as default " \ | 295 "Percentage (0-100) of the heap size to use as default " \ |
296 " maximum young gen size.") \ | 296 " maximum young gen size.") \ |
297 \ | 297 \ |
298 experimental(uintx, G1MixedGCLiveThresholdPercent, 90, \ | 298 experimental(uintx, G1MixedGCLiveThresholdPercent, 65, \ |
299 "Threshold for regions to be considered for inclusion in the " \ | 299 "Threshold for regions to be considered for inclusion in the " \ |
300 "collection set of mixed GCs. " \ | 300 "collection set of mixed GCs. " \ |
301 "Regions with live bytes exceeding this will not be collected.") \ | 301 "Regions with live bytes exceeding this will not be collected.") \ |
302 \ | 302 \ |
303 product(uintx, G1HeapWastePercent, 5, \ | 303 product(uintx, G1HeapWastePercent, 10, \ |
304 "Amount of space, expressed as a percentage of the heap size, " \ | 304 "Amount of space, expressed as a percentage of the heap size, " \ |
305 "that G1 is willing not to collect to avoid expensive GCs.") \ | 305 "that G1 is willing not to collect to avoid expensive GCs.") \ |
306 \ | 306 \ |
307 product(uintx, G1MixedGCCountTarget, 4, \ | 307 product(uintx, G1MixedGCCountTarget, 8, \ |
308 "The target number of mixed GCs after a marking cycle.") \ | 308 "The target number of mixed GCs after a marking cycle.") \ |
309 \ | 309 \ |
310 experimental(uintx, G1OldCSetRegionThresholdPercent, 10, \ | 310 experimental(uintx, G1OldCSetRegionThresholdPercent, 10, \ |
311 "An upper bound for the number of old CSet regions expressed " \ | 311 "An upper bound for the number of old CSet regions expressed " \ |
312 "as a percentage of the heap size.") \ | 312 "as a percentage of the heap size.") \ |