hotspot/src/share/vm/classfile/systemDictionary.cpp
changeset 28374 0558e321c027
parent 27694 543f6042c268
child 28510 4f1d3611e0bc
equal deleted inserted replaced
28373:26fdc99d32f8 28374:0558e321c027
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2015, Oracle and/or its affiliates. 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.
    30 #include "classfile/placeholders.hpp"
    30 #include "classfile/placeholders.hpp"
    31 #include "classfile/resolutionErrors.hpp"
    31 #include "classfile/resolutionErrors.hpp"
    32 #include "classfile/stringTable.hpp"
    32 #include "classfile/stringTable.hpp"
    33 #include "classfile/systemDictionary.hpp"
    33 #include "classfile/systemDictionary.hpp"
    34 #include "classfile/vmSymbols.hpp"
    34 #include "classfile/vmSymbols.hpp"
       
    35 #include "code/codeCache.hpp"
    35 #include "compiler/compileBroker.hpp"
    36 #include "compiler/compileBroker.hpp"
    36 #include "interpreter/bytecodeStream.hpp"
    37 #include "interpreter/bytecodeStream.hpp"
    37 #include "interpreter/interpreter.hpp"
    38 #include "interpreter/interpreter.hpp"
    38 #include "memory/filemap.hpp"
    39 #include "memory/filemap.hpp"
    39 #include "memory/gcLocker.hpp"
    40 #include "memory/gcLocker.hpp"
  1625   k->set_init_state(InstanceKlass::loaded);
  1626   k->set_init_state(InstanceKlass::loaded);
  1626   // Now flush all code that depended on old class hierarchy.
  1627   // Now flush all code that depended on old class hierarchy.
  1627   // Note: must be done *after* linking k into the hierarchy (was bug 12/9/97)
  1628   // Note: must be done *after* linking k into the hierarchy (was bug 12/9/97)
  1628   // Also, first reinitialize vtable because it may have gotten out of synch
  1629   // Also, first reinitialize vtable because it may have gotten out of synch
  1629   // while the new class wasn't connected to the class hierarchy.
  1630   // while the new class wasn't connected to the class hierarchy.
  1630   Universe::flush_dependents_on(k);
  1631   CodeCache::flush_dependents_on(k);
  1631 }
  1632 }
  1632 
  1633 
  1633 // ----------------------------------------------------------------------------
  1634 // ----------------------------------------------------------------------------
  1634 // GC support
  1635 // GC support
  1635 
  1636