Mercurial > hg > graal-jvmci-8
diff agent/src/share/classes/sun/jvm/hotspot/memory/LoaderConstraintTable.java @ 4864:b2cd0ee8f778
7114376: Make system dictionary hashtable bucket array size configurable
Summary: 7u4 new experimental flag -XX:PredictedClassLoadedCount=#
Reviewed-by: dholmes, phh, dcubed
author | acorn |
---|---|
date | Mon, 30 Jan 2012 23:27:30 -0500 |
parents | c18cbe5936b8 |
children | 79f492f184d0 |
line wrap: on
line diff
--- a/agent/src/share/classes/sun/jvm/hotspot/memory/LoaderConstraintTable.java Mon Jan 30 05:08:09 2012 -0800 +++ b/agent/src/share/classes/sun/jvm/hotspot/memory/LoaderConstraintTable.java Mon Jan 30 23:27:30 2012 -0500 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2012 Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -42,15 +42,6 @@ private static synchronized void initialize(TypeDataBase db) { Type type = db.lookupType("LoaderConstraintTable"); - nofBuckets = db.lookupIntConstant("LoaderConstraintTable::_nof_buckets").intValue(); - } - - // Fields - private static int nofBuckets; - - // Accessors - public static int getNumOfBuckets() { - return nofBuckets; } public LoaderConstraintTable(Address addr) {