src/share/vm/memory/dump.cpp

changeset 1145
e5b0439ef4ae
parent 843
52e32c8b317e
child 1149
981375ca07b7
     1.1 --- a/src/share/vm/memory/dump.cpp	Wed Apr 08 00:12:59 2009 -0700
     1.2 +++ b/src/share/vm/memory/dump.cpp	Wed Apr 08 10:56:49 2009 -0700
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright 2003-2008 Sun Microsystems, Inc.  All Rights Reserved.
     1.6 + * Copyright 2003-2009 Sun Microsystems, Inc.  All Rights Reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -928,6 +928,9 @@
    1.11      // shared classes at runtime, where constraints were previously created.
    1.12      guarantee(SystemDictionary::constraints()->number_of_entries() == 0,
    1.13                "loader constraints are not saved");
    1.14 +    // Revisit and implement this if we prelink method handle call sites:
    1.15 +    guarantee(SystemDictionary::invoke_method_table()->number_of_entries() == 0,
    1.16 +              "invoke method table is not saved");
    1.17      GenCollectedHeap* gch = GenCollectedHeap::heap();
    1.18  
    1.19      // At this point, many classes have been loaded.

mercurial