hotspot/src/share/vm/code/vtableStubs.cpp
changeset 5924 dc9d04930c82
parent 5547 f4b087cbb361
child 6176 4d9030fe341f
equal deleted inserted replaced
5915:406168b53eb0 5924:dc9d04930c82
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2010, 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.
    48     if (blob == NULL) {
    48     if (blob == NULL) {
    49       vm_exit_out_of_memory(bytes, "CodeCache: no room for vtable chunks");
    49       vm_exit_out_of_memory(bytes, "CodeCache: no room for vtable chunks");
    50     }
    50     }
    51     _chunk = blob->instructions_begin();
    51     _chunk = blob->instructions_begin();
    52     _chunk_end = _chunk + bytes;
    52     _chunk_end = _chunk + bytes;
    53     VTune::register_stub("vtable stub", _chunk, _chunk_end);
       
    54     Forte::register_stub("vtable stub", _chunk, _chunk_end);
    53     Forte::register_stub("vtable stub", _chunk, _chunk_end);
    55     // Notify JVMTI about this stub. The event will be recorded by the enclosing
    54     // Notify JVMTI about this stub. The event will be recorded by the enclosing
    56     // JvmtiDynamicCodeEventCollector and posted when this thread has released
    55     // JvmtiDynamicCodeEventCollector and posted when this thread has released
    57     // all locks.
    56     // all locks.
    58     if (JvmtiExport::should_post_dynamic_code_generated()) {
    57     if (JvmtiExport::should_post_dynamic_code_generated()) {