Mercurial > hg > truffle
comparison src/share/vm/runtime/arguments.cpp @ 2376:c7f3d0b4570f
7017732: move static fields into Class to prepare for perm gen removal
Reviewed-by: kvn, coleenp, twisti, stefank
author | never |
---|---|
date | Fri, 18 Mar 2011 16:00:34 -0700 |
parents | 048f98400b8e |
children | 924777755fad |
comparison
equal
deleted
inserted
replaced
2375:d673ef06fe96 | 2376:c7f3d0b4570f |
---|---|
2974 if (!FLAG_IS_DEFAULT(ScavengeRootsInCode)) { | 2974 if (!FLAG_IS_DEFAULT(ScavengeRootsInCode)) { |
2975 warning("forcing ScavengeRootsInCode non-zero because EnableMethodHandles or AnonymousClasses is true"); | 2975 warning("forcing ScavengeRootsInCode non-zero because EnableMethodHandles or AnonymousClasses is true"); |
2976 } | 2976 } |
2977 ScavengeRootsInCode = 1; | 2977 ScavengeRootsInCode = 1; |
2978 } | 2978 } |
2979 if (!JavaObjectsInPerm && ScavengeRootsInCode == 0) { | |
2980 if (!FLAG_IS_DEFAULT(ScavengeRootsInCode)) { | |
2981 warning("forcing ScavengeRootsInCode non-zero because JavaObjectsInPerm is false"); | |
2982 } | |
2983 ScavengeRootsInCode = 1; | |
2984 } | |
2979 | 2985 |
2980 if (PrintGCDetails) { | 2986 if (PrintGCDetails) { |
2981 // Turn on -verbose:gc options as well | 2987 // Turn on -verbose:gc options as well |
2982 PrintGC = true; | 2988 PrintGC = true; |
2983 } | 2989 } |