6934089: Zero 32-bit/64kb page fix
The fix for 6927165 increased the number of shadow pages for 32-bit platforms and this causes a problem on systems with 64kb pages. Reviewed-by: twisti
This commit is contained in:
parent
7dcf59914e
commit
dae3356905
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2000-2005 Sun Microsystems, Inc. All Rights Reserved.
|
* Copyright 2000-2005 Sun Microsystems, Inc. All Rights Reserved.
|
||||||
* Copyright 2007, 2008 Red Hat, Inc.
|
* Copyright 2007, 2008, 2010 Red Hat, Inc.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
@ -29,11 +29,10 @@
|
|||||||
//
|
//
|
||||||
|
|
||||||
define_pd_global(bool, DontYieldALot, false);
|
define_pd_global(bool, DontYieldALot, false);
|
||||||
#ifdef _LP64
|
|
||||||
define_pd_global(intx, ThreadStackSize, 1536);
|
define_pd_global(intx, ThreadStackSize, 1536);
|
||||||
|
#ifdef _LP64
|
||||||
define_pd_global(intx, VMThreadStackSize, 1024);
|
define_pd_global(intx, VMThreadStackSize, 1024);
|
||||||
#else
|
#else
|
||||||
define_pd_global(intx, ThreadStackSize, 1024);
|
|
||||||
define_pd_global(intx, VMThreadStackSize, 512);
|
define_pd_global(intx, VMThreadStackSize, 512);
|
||||||
#endif // _LP64
|
#endif // _LP64
|
||||||
define_pd_global(intx, SurvivorRatio, 8);
|
define_pd_global(intx, SurvivorRatio, 8);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user