1 /* |
1 /* |
2 * Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved. |
2 * Copyright 2003-2009 Sun Microsystems, Inc. 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. |
926 // exist yet, since the constraints table is not shared. This becomes |
926 // exist yet, since the constraints table is not shared. This becomes |
927 // more important now that we don't re-initialize vtables/itables for |
927 // more important now that we don't re-initialize vtables/itables for |
928 // shared classes at runtime, where constraints were previously created. |
928 // shared classes at runtime, where constraints were previously created. |
929 guarantee(SystemDictionary::constraints()->number_of_entries() == 0, |
929 guarantee(SystemDictionary::constraints()->number_of_entries() == 0, |
930 "loader constraints are not saved"); |
930 "loader constraints are not saved"); |
|
931 // Revisit and implement this if we prelink method handle call sites: |
|
932 guarantee(SystemDictionary::invoke_method_table()->number_of_entries() == 0, |
|
933 "invoke method table is not saved"); |
931 GenCollectedHeap* gch = GenCollectedHeap::heap(); |
934 GenCollectedHeap* gch = GenCollectedHeap::heap(); |
932 |
935 |
933 // At this point, many classes have been loaded. |
936 // At this point, many classes have been loaded. |
934 |
937 |
935 // Update all the fingerprints in the shared methods. |
938 // Update all the fingerprints in the shared methods. |