Mercurial > hg > graal-jvmci-8
comparison src/share/vm/code/stubs.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 | c18cbe5936b8 |
children | f95d63e2154a |
comparison
equal
deleted
inserted
replaced
1747:53dbe853fb3a | 1748:3e8fbc61cee8 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 1997, 2005, 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. |
64 BufferBlob* blob = BufferBlob::create(name, size); | 64 BufferBlob* blob = BufferBlob::create(name, size); |
65 if( blob == NULL) { | 65 if( blob == NULL) { |
66 vm_exit_out_of_memory(size, err_msg("CodeCache: no room for %s", name)); | 66 vm_exit_out_of_memory(size, err_msg("CodeCache: no room for %s", name)); |
67 } | 67 } |
68 _stub_interface = stub_interface; | 68 _stub_interface = stub_interface; |
69 _buffer_size = blob->instructions_size(); | 69 _buffer_size = blob->content_size(); |
70 _buffer_limit = blob->instructions_size(); | 70 _buffer_limit = blob->content_size(); |
71 _stub_buffer = blob->instructions_begin(); | 71 _stub_buffer = blob->content_begin(); |
72 _queue_begin = 0; | 72 _queue_begin = 0; |
73 _queue_end = 0; | 73 _queue_end = 0; |
74 _number_of_stubs = 0; | 74 _number_of_stubs = 0; |
75 register_queue(this); | 75 register_queue(this); |
76 } | 76 } |