Mercurial > hg > truffle
diff src/share/vm/prims/jvmtiCodeBlobEvents.cpp @ 1748:3e8fbc61cee8
6978355: renaming for 6961697
Summary: This is the renaming part of 6961697 to keep the actual changes small for review.
Reviewed-by: kvn, never
author | twisti |
---|---|
date | Wed, 25 Aug 2010 05:27:54 -0700 |
parents | a528509c992b |
children | f95d63e2154a |
line wrap: on
line diff
--- a/src/share/vm/prims/jvmtiCodeBlobEvents.cpp Mon Aug 23 09:09:36 2010 -0700 +++ b/src/share/vm/prims/jvmtiCodeBlobEvents.cpp Wed Aug 25 05:27:54 2010 -0700 @@ -114,7 +114,7 @@ // check if this starting address has been seen already - the // assumption is that stubs are inserted into the list before the // enclosing BufferBlobs. - address addr = cb->instructions_begin(); + address addr = cb->code_begin(); for (int i=0; i<_global_code_blobs->length(); i++) { JvmtiCodeBlobDesc* scb = _global_code_blobs->at(i); if (addr == scb->code_begin()) { @@ -123,8 +123,7 @@ } // record the CodeBlob details as a JvmtiCodeBlobDesc - JvmtiCodeBlobDesc* scb = new JvmtiCodeBlobDesc(cb->name(), cb->instructions_begin(), - cb->instructions_end()); + JvmtiCodeBlobDesc* scb = new JvmtiCodeBlobDesc(cb->name(), cb->code_begin(), cb->code_end()); _global_code_blobs->append(scb); }