1.1 --- a/src/share/vm/code/stubs.cpp Mon Aug 23 09:09:36 2010 -0700 1.2 +++ b/src/share/vm/code/stubs.cpp Wed Aug 25 05:27:54 2010 -0700 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 1997, 2005, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 1997, 2010, Oracle and/or its affiliates. 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 @@ -66,9 +66,9 @@ 1.11 vm_exit_out_of_memory(size, err_msg("CodeCache: no room for %s", name)); 1.12 } 1.13 _stub_interface = stub_interface; 1.14 - _buffer_size = blob->instructions_size(); 1.15 - _buffer_limit = blob->instructions_size(); 1.16 - _stub_buffer = blob->instructions_begin(); 1.17 + _buffer_size = blob->content_size(); 1.18 + _buffer_limit = blob->content_size(); 1.19 + _stub_buffer = blob->content_begin(); 1.20 _queue_begin = 0; 1.21 _queue_end = 0; 1.22 _number_of_stubs = 0;