comparison src/share/vm/memory/dump.cpp @ 710:e5b0439ef4ae

6655638: dynamic languages need method handles Summary: initial implementation, with known omissions (x86/64, sparc, compiler optim., c-oops, C++ interp.) Reviewed-by: kvn, twisti, never
author jrose
date Wed, 08 Apr 2009 10:56:49 -0700
parents 52e32c8b317e
children 981375ca07b7
comparison
equal deleted inserted replaced
709:1d037ecd7960 710:e5b0439ef4ae
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.