Changeset 278 for trunk/openjdk/hotspot/src/cpu/zero
- Timestamp:
- Mar 26, 2011, 8:39:20 PM (14 years ago)
- Location:
- trunk/openjdk
- Files:
-
- 71 edited
- 3 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/openjdk
- Property svn:ignore
-
old new 1 1 build 2 build-product-release
-
-
Property svn:mergeinfo
set to
/branches/vendor/oracle/openjdk6/b22 merged eligible /branches/vendor/oracle/openjdk6/current merged eligible
- Property svn:ignore
-
trunk/openjdk/hotspot/src/cpu/zero/vm/assembler_zero.cpp
r2 r278 1 1 /* 2 * Copyright 2003-2007 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2003, 2007, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2007, 2008, 2009 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ -
trunk/openjdk/hotspot/src/cpu/zero/vm/assembler_zero.hpp
r2 r278 1 1 /* 2 * Copyright 1997-2007 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2007, 2008, 2009 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ -
trunk/openjdk/hotspot/src/cpu/zero/vm/assembler_zero.inline.hpp
r2 r278 1 1 /* 2 * Copyright 1997-2007 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2009 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ -
trunk/openjdk/hotspot/src/cpu/zero/vm/bytecodeInterpreter_zero.cpp
r2 r278 1 1 /* 2 * Copyright 2003-2007 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2003, 2007, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2008 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ -
trunk/openjdk/hotspot/src/cpu/zero/vm/bytecodeInterpreter_zero.hpp
r2 r278 1 1 /* 2 * Copyright 2002 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2007, 2008 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ -
trunk/openjdk/hotspot/src/cpu/zero/vm/bytecodeInterpreter_zero.inline.hpp
r2 r278 1 1 /* 2 * Copyright 2002 Sun Microsystems, Inc. All Rights Reserved.3 * Copyright 2007 Red Hat, Inc.2 * Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved. 3 * Copyright 2007, 2010 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 5 5 * … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ … … 269 269 } 270 270 271 inline j int BytecodeInterpreter::VMintUshr(jint op1, jint op2) {271 inline juint BytecodeInterpreter::VMintUshr(jint op1, jint op2) { 272 272 return ((juint) op1) >> (op2 & 0x1F); 273 273 } -
trunk/openjdk/hotspot/src/cpu/zero/vm/bytecodes_zero.cpp
r2 r278 1 1 /* 2 * Copyright 2003 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2007 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ -
trunk/openjdk/hotspot/src/cpu/zero/vm/bytecodes_zero.hpp
r2 r278 1 1 /* 2 * Copyright 1997-2007 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2009 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ -
trunk/openjdk/hotspot/src/cpu/zero/vm/bytes_zero.hpp
r2 r278 1 1 /* 2 * Copyright 1997-2002 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1997, 2002, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2007, 2008, 2009 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ -
trunk/openjdk/hotspot/src/cpu/zero/vm/codeBuffer_zero.hpp
r2 r278 1 1 /* 2 * Copyright 2003-2005 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2007 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ -
trunk/openjdk/hotspot/src/cpu/zero/vm/copy_zero.hpp
r2 r278 1 1 /* 2 * Copyright 2003-2004 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2003, 2004, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2007 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ -
trunk/openjdk/hotspot/src/cpu/zero/vm/cppInterpreterGenerator_zero.hpp
r2 r278 1 1 /* 2 * Copyright 2003-2007 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2003, 2007, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2008, 2009 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ -
trunk/openjdk/hotspot/src/cpu/zero/vm/cppInterpreter_zero.cpp
r2 r278 1 1 /* 2 * Copyright 2003-2007 Sun Microsystems, Inc. All Rights Reserved.3 * Copyright 2007, 2008, 2009 Red Hat, Inc.2 * Copyright (c) 2003, 2007, Oracle and/or its affiliates. All rights reserved. 3 * Copyright 2007, 2008, 2009, 2010 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 5 5 * … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ … … 38 38 fixup_after_potential_safepoint() 39 39 40 voidCppInterpreter::normal_entry(methodOop method, intptr_t UNUSED, TRAPS) {40 int CppInterpreter::normal_entry(methodOop method, intptr_t UNUSED, TRAPS) { 41 41 JavaThread *thread = (JavaThread *) THREAD; 42 ZeroStack *stack = thread->zero_stack();43 44 // Adjust the caller's stack frame to accomodate any additional45 // local variables we have contiguously with our parameters.46 int extra_locals = method->max_locals() - method->size_of_parameters();47 if (extra_locals > 0) {48 if (extra_locals > stack->available_words()) {49 Unimplemented();50 }51 for (int i = 0; i < extra_locals; i++)52 stack->push(0);53 }54 42 55 43 // Allocate and initialize our frame. 56 InterpreterFrame *frame = InterpreterFrame::build( stack, method, thread);44 InterpreterFrame *frame = InterpreterFrame::build(method, CHECK_0); 57 45 thread->push_zero_frame(frame); 58 46 59 47 // Execute those bytecodes! 60 48 main_loop(0, THREAD); 49 50 // No deoptimized frames on the stack 51 return 0; 61 52 } 62 53 … … 76 67 intptr_t *result = NULL; 77 68 int result_slots = 0; 78 79 // Check we're not about to run out of stack80 if (stack_overflow_imminent(thread)) {81 CALL_VM_NOCHECK(InterpreterRuntime::throw_StackOverflowError(thread));82 goto unwind_and_return;83 }84 69 85 70 while (true) { … … 124 109 125 110 // Allocate the space 126 if (monitor_words > stack->available_words()) {127 Unimplemented();128 }111 stack->overflow_check(monitor_words, THREAD); 112 if (HAS_PENDING_EXCEPTION) 113 break; 129 114 stack->alloc(monitor_words * wordSize); 130 115 … … 146 131 else if (istate->msg() == BytecodeInterpreter::return_from_method) { 147 132 // Copy the result into the caller's frame 148 result_slots = type2size[ method->result_type()];133 result_slots = type2size[result_type_of(method)]; 149 134 assert(result_slots >= 0 && result_slots <= 2, "what?"); 150 135 result = istate->stack() + result_slots; … … 173 158 } 174 159 175 unwind_and_return:176 177 160 // Unwind the current frame 178 161 thread->pop_zero_frame(); … … 186 169 } 187 170 188 voidCppInterpreter::native_entry(methodOop method, intptr_t UNUSED, TRAPS) {171 int CppInterpreter::native_entry(methodOop method, intptr_t UNUSED, TRAPS) { 189 172 // Make sure method is native and not abstract 190 173 assert(method->is_native() && !method->is_abstract(), "should be"); … … 194 177 195 178 // Allocate and initialize our frame 196 InterpreterFrame *frame = InterpreterFrame::build( stack, method, thread);179 InterpreterFrame *frame = InterpreterFrame::build(method, CHECK_0); 197 180 thread->push_zero_frame(frame); 198 181 interpreterState istate = frame->interpreter_state(); 199 182 intptr_t *locals = istate->locals(); 200 183 201 // Check we're not about to run out of stack202 if (stack_overflow_imminent(thread)) {203 CALL_VM_NOCHECK(InterpreterRuntime::throw_StackOverflowError(thread));204 goto unwind_and_return;205 }206 207 184 // Update the invocation counter 208 185 if ((UseCompiler || CountCompiledCalls) && !method->is_synchronized()) { 209 thread->set_do_not_unlock();210 186 InvocationCounter *counter = method->invocation_counter(); 211 187 counter->increment(); … … 216 192 goto unwind_and_return; 217 193 } 218 thread->clr_do_not_unlock();219 194 } 220 195 … … 246 221 CALL_VM_NOCHECK(InterpreterRuntime::prepare_native_call(thread, method)); 247 222 if (HAS_PENDING_EXCEPTION) 248 goto un wind_and_return;223 goto unlock_unwind_and_return; 249 224 250 225 handlerAddr = method->signature_handler(); … … 255 230 InterpreterRuntime::slow_signature_handler(thread, method, NULL,NULL)); 256 231 if (HAS_PENDING_EXCEPTION) 257 goto un wind_and_return;232 goto unlock_unwind_and_return; 258 233 } 259 234 handler = \ … … 267 242 268 243 // Build the argument list 269 if (handler->argument_count() * 2 > stack->available_words()) { 270 Unimplemented(); 271 } 244 stack->overflow_check(handler->argument_count() * 2, THREAD); 245 if (HAS_PENDING_EXCEPTION) 246 goto unlock_unwind_and_return; 247 272 248 void **arguments; 273 249 void *mirror; { … … 366 342 thread->active_handles()->clear(); 367 343 368 // Unlock if necessary. It seems totally wrong that this369 // is skipped in the event of an exception but apparently 370 // the template interpreter does this so we do too.371 if (monitor && !HAS_PENDING_EXCEPTION) {344 unlock_unwind_and_return: 345 346 // Unlock if necessary 347 if (monitor) { 372 348 BasicLock *lock = monitor->lock(); 373 349 markOop header = lock->displaced_header(); … … 395 371 // Push our result 396 372 if (!HAS_PENDING_EXCEPTION) { 397 stack->set_sp(stack->sp() - type2size[method->result_type()]); 398 399 switch (method->result_type()) { 373 BasicType type = result_type_of(method); 374 stack->set_sp(stack->sp() - type2size[type]); 375 376 switch (type) { 400 377 case T_VOID: 401 378 break; … … 457 434 } 458 435 } 459 } 460 461 void CppInterpreter::accessor_entry(methodOop method, intptr_t UNUSED, TRAPS) { 436 437 // No deoptimized frames on the stack 438 return 0; 439 } 440 441 int CppInterpreter::accessor_entry(methodOop method, intptr_t UNUSED, TRAPS) { 462 442 JavaThread *thread = (JavaThread *) THREAD; 463 443 ZeroStack *stack = thread->zero_stack(); … … 466 446 // Drop into the slow path if we need a safepoint check 467 447 if (SafepointSynchronize::do_call_back()) { 468 normal_entry(method, 0, THREAD); 469 return; 448 return normal_entry(method, 0, THREAD); 470 449 } 471 450 … … 474 453 oop object = LOCALS_OBJECT(0); 475 454 if (object == NULL) { 476 normal_entry(method, 0, THREAD); 477 return; 455 return normal_entry(method, 0, THREAD); 478 456 } 479 457 … … 497 475 ConstantPoolCacheEntry* entry = cache->entry_at(index); 498 476 if (!entry->is_resolved(Bytecodes::_getfield)) { 499 normal_entry(method, 0, THREAD); 500 return; 477 return normal_entry(method, 0, THREAD); 501 478 } 502 479 … … 505 482 case ltos: 506 483 case dtos: 507 if (stack->available_words() < 1) { 508 Unimplemented(); 509 } 484 stack->overflow_check(1, CHECK_0); 510 485 stack->alloc(wordSize); 511 486 break; … … 587 562 } 588 563 } 589 } 590 591 void CppInterpreter::empty_entry(methodOop method, intptr_t UNUSED, TRAPS) { 564 565 // No deoptimized frames on the stack 566 return 0; 567 } 568 569 int CppInterpreter::empty_entry(methodOop method, intptr_t UNUSED, TRAPS) { 592 570 JavaThread *thread = (JavaThread *) THREAD; 593 571 ZeroStack *stack = thread->zero_stack(); … … 595 573 // Drop into the slow path if we need a safepoint check 596 574 if (SafepointSynchronize::do_call_back()) { 597 normal_entry(method, 0, THREAD); 598 return; 575 return normal_entry(method, 0, THREAD); 599 576 } 600 577 601 578 // Pop our parameters 602 579 stack->set_sp(stack->sp() + method->size_of_parameters()); 603 } 604 605 bool CppInterpreter::stack_overflow_imminent(JavaThread *thread) { 606 // How is the ABI stack? 607 address stack_top = thread->stack_base() - thread->stack_size(); 608 int free_stack = os::current_stack_pointer() - stack_top; 609 if (free_stack < StackShadowPages * os::vm_page_size()) { 610 return true; 611 } 612 613 // How is the Zero stack? 614 // Throwing a StackOverflowError involves a VM call, which means 615 // we need a frame on the stack. We should be checking here to 616 // ensure that methods we call have enough room to install the 617 // largest possible frame, but that's more than twice the size 618 // of the entire Zero stack we get by default, so we just check 619 // we have *some* space instead... 620 free_stack = thread->zero_stack()->available_words() * wordSize; 621 if (free_stack < StackShadowPages * os::vm_page_size()) { 622 return true; 623 } 624 625 return false; 626 } 627 628 InterpreterFrame *InterpreterFrame::build(ZeroStack* stack, 629 const methodOop method, 630 JavaThread* thread) { 631 int monitor_words = 632 method->is_synchronized() ? frame::interpreter_frame_monitor_size() : 0; 633 int stack_words = method->is_native() ? 0 : method->max_stack(); 634 635 if (header_words + monitor_words + stack_words > stack->available_words()) { 636 Unimplemented(); 637 } 580 581 // No deoptimized frames on the stack 582 return 0; 583 } 584 585 InterpreterFrame *InterpreterFrame::build(const methodOop method, TRAPS) { 586 JavaThread *thread = (JavaThread *) THREAD; 587 ZeroStack *stack = thread->zero_stack(); 588 589 // Calculate the size of the frame we'll build, including 590 // any adjustments to the caller's frame that we'll make. 591 int extra_locals = 0; 592 int monitor_words = 0; 593 int stack_words = 0; 594 595 if (!method->is_native()) { 596 extra_locals = method->max_locals() - method->size_of_parameters(); 597 stack_words = method->max_stack(); 598 } 599 if (method->is_synchronized()) { 600 monitor_words = frame::interpreter_frame_monitor_size(); 601 } 602 stack->overflow_check( 603 extra_locals + header_words + monitor_words + stack_words, CHECK_NULL); 604 605 // Adjust the caller's stack frame to accomodate any additional 606 // local variables we have contiguously with our parameters. 607 for (int i = 0; i < extra_locals; i++) 608 stack->push(0); 638 609 639 610 intptr_t *locals; … … 708 679 } 709 680 681 BasicType CppInterpreter::result_type_of(methodOop method) { 682 BasicType t; 683 switch (method->result_index()) { 684 case 0 : t = T_BOOLEAN; break; 685 case 1 : t = T_CHAR; break; 686 case 2 : t = T_BYTE; break; 687 case 3 : t = T_SHORT; break; 688 case 4 : t = T_INT; break; 689 case 5 : t = T_LONG; break; 690 case 6 : t = T_VOID; break; 691 case 7 : t = T_FLOAT; break; 692 case 8 : t = T_DOUBLE; break; 693 case 9 : t = T_OBJECT; break; 694 default: ShouldNotReachHere(); 695 } 696 assert(AbstractInterpreter::BasicType_as_index(t) == method->result_index(), 697 "out of step with AbstractInterpreter::BasicType_as_index"); 698 return t; 699 } 700 710 701 address InterpreterGenerator::generate_empty_entry() { 711 702 if (!UseFastEmptyMethods) … … 794 785 // Deoptimization helpers 795 786 796 InterpreterFrame *InterpreterFrame::build(ZeroStack* stack, int size) { 787 InterpreterFrame *InterpreterFrame::build(int size, TRAPS) { 788 ZeroStack *stack = ((JavaThread *) THREAD)->zero_stack(); 789 797 790 int size_in_words = size >> LogBytesPerWord; 798 791 assert(size_in_words * wordSize == size, "unaligned"); 799 792 assert(size_in_words >= header_words, "too small"); 800 801 if (size_in_words > stack->available_words()) { 802 Unimplemented(); 803 } 793 stack->overflow_check(size_in_words, CHECK_NULL); 804 794 805 795 stack->push(0); // next_frame, filled in later … … 831 821 assert(popframe_extra_args == 0, "what to do?"); 832 822 assert(!is_top_frame || (!callee_locals && !callee_param_count), 833 "top frame should have no caller") 823 "top frame should have no caller"); 834 824 835 825 // This code must exactly match what InterpreterFrame::build … … 852 842 853 843 if (interpreter_frame) { 854 intptr_t *locals = interpreter_frame-> sp() + method->max_locals();844 intptr_t *locals = interpreter_frame->fp() + method->max_locals(); 855 845 interpreterState istate = interpreter_frame->get_interpreterState(); 856 846 intptr_t *monitor_base = (intptr_t*) istate; -
trunk/openjdk/hotspot/src/cpu/zero/vm/cppInterpreter_zero.hpp
r2 r278 1 1 /* 2 * Copyright 1997-2007 Sun Microsystems, Inc. All Rights Reserved.3 * Copyright 2007, 2008 Red Hat, Inc.2 * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. 3 * Copyright 2007, 2008, 2010 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 5 5 * … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ … … 30 30 public: 31 31 // Method entries 32 static voidnormal_entry(methodOop method, intptr_t UNUSED, TRAPS);33 static voidnative_entry(methodOop method, intptr_t UNUSED, TRAPS);34 static voidaccessor_entry(methodOop method, intptr_t UNUSED, TRAPS);35 static voidempty_entry(methodOop method, intptr_t UNUSED, TRAPS);32 static int normal_entry(methodOop method, intptr_t UNUSED, TRAPS); 33 static int native_entry(methodOop method, intptr_t UNUSED, TRAPS); 34 static int accessor_entry(methodOop method, intptr_t UNUSED, TRAPS); 35 static int empty_entry(methodOop method, intptr_t UNUSED, TRAPS); 36 36 37 37 public: … … 40 40 41 41 private: 42 // Stack overflow checks43 static bool stack_overflow_imminent(JavaThread *thread);42 // Fast result type determination 43 static BasicType result_type_of(methodOop method); -
trunk/openjdk/hotspot/src/cpu/zero/vm/debug_zero.cpp
r2 r278 1 1 /* 2 * Copyright 2003-2007 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2003, 2007, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2007 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ -
trunk/openjdk/hotspot/src/cpu/zero/vm/depChecker_zero.cpp
r2 r278 1 1 /* 2 * Copyright 1997-2007 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2009 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ -
trunk/openjdk/hotspot/src/cpu/zero/vm/depChecker_zero.hpp
r2 r278 1 1 /* 2 * Copyright 1997-2007 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2009 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ -
trunk/openjdk/hotspot/src/cpu/zero/vm/disassembler_zero.cpp
r2 r278 1 1 /* 2 * Copyright 1997-2007 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2009 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ -
trunk/openjdk/hotspot/src/cpu/zero/vm/disassembler_zero.hpp
r2 r278 1 1 /* 2 * Copyright 2003 Sun Microsystems, Inc. All Rights Reserved.3 * Copyright 2007 Red Hat, Inc.2 * Copyright (c) 2003, Oracle and/or its affiliates. All rights reserved. 3 * Copyright 2007, 2010 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 5 5 * … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ 25 25 26 // The disassembler prints out zero code annotated27 // with Java specific information.28 29 26 static int pd_instruction_alignment() { 30 ShouldNotCallThis();27 return 1; 31 28 } 32 29 33 30 static const char* pd_cpu_opts() { 34 ShouldNotCallThis();31 return ""; 35 32 } -
trunk/openjdk/hotspot/src/cpu/zero/vm/dump_zero.cpp
r2 r278 1 1 /* 2 * Copyright 2004-2007 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2004, 2007, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2007 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ -
trunk/openjdk/hotspot/src/cpu/zero/vm/entryFrame_zero.hpp
r2 r278 1 1 /* 2 * Copyright 2003-2007 Sun Microsystems, Inc. All Rights Reserved.3 * Copyright 2008 Red Hat, Inc.2 * Copyright (c) 2003, 2007, Oracle and/or its affiliates. All rights reserved. 3 * Copyright 2008, 2010 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 5 5 * … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ … … 48 48 49 49 public: 50 static EntryFrame *build(ZeroStack* stack, 51 const intptr_t* parameters, 50 static EntryFrame *build(const intptr_t* parameters, 52 51 int parameter_words, 53 JavaCallWrapper* call_wrapper); 52 JavaCallWrapper* call_wrapper, 53 TRAPS); 54 54 public: 55 55 JavaCallWrapper *call_wrapper() const { -
trunk/openjdk/hotspot/src/cpu/zero/vm/entry_zero.hpp
r2 r278 1 1 /* 2 * Copyright 2003-2007 Sun Microsystems, Inc. All Rights Reserved.3 * Copyright 2008, 2009 Red Hat, Inc.2 * Copyright (c) 2003, 2007, Oracle and/or its affiliates. All rights reserved. 3 * Copyright 2008, 2009, 2010 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 5 5 * … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ … … 42 42 43 43 private: 44 typedef void(*NormalEntryFunc)(methodOop method,45 46 47 typedef void(*OSREntryFunc)(methodOop method,48 49 50 44 typedef int (*NormalEntryFunc)(methodOop method, 45 intptr_t base_pc, 46 TRAPS); 47 typedef int (*OSREntryFunc)(methodOop method, 48 address osr_buf, 49 intptr_t base_pc, 50 TRAPS); 51 51 52 52 public: 53 53 void invoke(methodOop method, TRAPS) const { 54 ((NormalEntryFunc) entry_point())(method, (intptr_t) this, THREAD); 54 maybe_deoptimize( 55 ((NormalEntryFunc) entry_point())(method, (intptr_t) this, THREAD), 56 THREAD); 55 57 } 56 58 void invoke_osr(methodOop method, address osr_buf, TRAPS) const { 57 ((OSREntryFunc) entry_point())(method, osr_buf, (intptr_t) this, THREAD); 59 maybe_deoptimize( 60 ((OSREntryFunc) entry_point())(method, osr_buf, (intptr_t) this, THREAD), 61 THREAD); 62 } 63 64 private: 65 static void maybe_deoptimize(int deoptimized_frames, TRAPS) { 66 if (deoptimized_frames) 67 CppInterpreter::main_loop(deoptimized_frames - 1, THREAD); 58 68 } 59 69 -
trunk/openjdk/hotspot/src/cpu/zero/vm/fakeStubFrame_zero.hpp
r2 r278 1 1 /* 2 * Copyright 2003-2007 Sun Microsystems, Inc. All Rights Reserved.3 * Copyright 2008 Red Hat, Inc.2 * Copyright (c) 2003, 2007, Oracle and/or its affiliates. All rights reserved. 3 * Copyright 2008, 2010 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 5 5 * … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ … … 43 43 44 44 public: 45 static FakeStubFrame *build( ZeroStack* stack);45 static FakeStubFrame *build(TRAPS); 46 46 47 47 public: -
trunk/openjdk/hotspot/src/cpu/zero/vm/frame_zero.cpp
r2 r278 1 1 /* 2 * Copyright 2003-2007 Sun Microsystems, Inc. All Rights Reserved.3 * Copyright 2007, 2008, 2009 Red Hat, Inc.2 * Copyright (c) 2003, 2007, Oracle and/or its affiliates. All rights reserved. 3 * Copyright 2007, 2008, 2009, 2010 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 5 5 * … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ … … 35 35 bool frame::is_interpreted_frame() const { 36 36 return zeroframe()->is_interpreter_frame(); 37 } 38 39 bool frame::is_fake_stub_frame() const { 40 return zeroframe()->is_fake_stub_frame(); 37 41 } 38 42 … … 45 49 map->clear(); 46 50 assert(map->include_argument_oops(), "should be set by clear"); 47 return frame( sender_sp(), sp() + 1);51 return frame(zeroframe()->next(), sender_sp()); 48 52 } 49 53 … … 52 56 zeroframe()->is_shark_frame() || 53 57 zeroframe()->is_fake_stub_frame(), "wrong type of frame"); 54 return frame( sender_sp(), sp() + 1);58 return frame(zeroframe()->next(), sender_sp()); 55 59 } 56 60 … … 173 177 174 178 // Print each word of the frame 175 for (intptr_t *addr = fp(); addr <= sp(); addr++) {176 int offset = sp() - addr;179 for (intptr_t *addr = sp(); addr <= fp(); addr++) { 180 int offset = fp() - addr; 177 181 178 182 // Fill in default values, then try and improve them -
trunk/openjdk/hotspot/src/cpu/zero/vm/frame_zero.hpp
r2 r278 1 1 /* 2 * Copyright 2003-2007 Sun Microsystems, Inc. All Rights Reserved.3 * Copyright 2007, 2008, 2009 Red Hat, Inc.2 * Copyright (c) 2003, 2007, Oracle and/or its affiliates. All rights reserved. 3 * Copyright 2007, 2008, 2009, 2010 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 5 5 * … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ … … 33 33 // Constructor 34 34 public: 35 frame( intptr_t* sp, intptr_t* fp);35 frame(ZeroFrame* zeroframe, intptr_t* sp); 36 36 37 // The sp of a Zero frame is the address of the highest word in38 // that frame. We keep track of the lowest address too, so the39 // boundaries of the frame are available for debug printing.40 37 private: 41 intptr_t* _fp;38 ZeroFrame* _zeroframe; 42 39 43 40 public: 41 const ZeroFrame *zeroframe() const { 42 return _zeroframe; 43 } 44 44 45 intptr_t* fp() const { 45 return _fp;46 return (intptr_t *) zeroframe(); 46 47 } 47 48 … … 51 52 52 53 public: 53 const ZeroFrame *zeroframe() const {54 return (ZeroFrame *) sp();55 }56 57 54 const EntryFrame *zero_entryframe() const { 58 55 return zeroframe()->as_entry_frame(); … … 66 63 67 64 public: 65 bool is_fake_stub_frame() const; 66 67 public: 68 68 frame sender_for_nonentry_frame(RegisterMap* map) const; 69 69 -
trunk/openjdk/hotspot/src/cpu/zero/vm/frame_zero.inline.hpp
r2 r278 1 1 /* 2 * Copyright 2003-2007 Sun Microsystems, Inc. All Rights Reserved.3 * Copyright 2007, 2008, 2009 Red Hat, Inc.2 * Copyright (c) 2003, 2007, Oracle and/or its affiliates. All rights reserved. 3 * Copyright 2007, 2008, 2009, 2010 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 5 5 * … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ … … 27 27 28 28 inline frame::frame() { 29 _zeroframe = NULL; 29 30 _sp = NULL; 30 _fp = NULL;31 31 _pc = NULL; 32 32 _cb = NULL; … … 34 34 } 35 35 36 inline frame::frame(intptr_t* sp, intptr_t* fp) { 36 inline frame::frame(ZeroFrame* zf, intptr_t* sp) { 37 _zeroframe = zf; 37 38 _sp = sp; 38 _fp = fp;39 39 switch (zeroframe()->type()) { 40 40 case ZeroFrame::ENTRY_FRAME: … … 67 67 68 68 inline intptr_t* frame::sender_sp() const { 69 return (intptr_t *) zeroframe()->next();69 return fp() + 1; 70 70 } 71 71 … … 121 121 // represents an invalid (incomparable) frame. 122 122 inline intptr_t* frame::id() const { 123 return sp();123 return fp(); 124 124 } 125 125 -
trunk/openjdk/hotspot/src/cpu/zero/vm/globalDefinitions_zero.hpp
r2 r278 1 1 /* 2 * Copyright 1997-2007 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2009 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ -
trunk/openjdk/hotspot/src/cpu/zero/vm/globals_zero.hpp
r2 r278 1 1 /* 2 * Copyright 2000-2006 Sun Microsystems, Inc. All Rights Reserved.3 * Copyright 2007, 2008, 2009 Red Hat, Inc.2 * Copyright (c) 2000, 2006, Oracle and/or its affiliates. All rights reserved. 3 * Copyright 2007, 2008, 2009, 2010 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 5 5 * … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ 25 25 26 //27 26 // Set the default values for platform dependent flags used by the 28 27 // runtime system. See globals.hpp for details of what they do. 29 //30 28 31 29 define_pd_global(bool, ConvertSleepToYield, true); … … 38 36 39 37 define_pd_global(intx, CodeEntryAlignment, 32); 40 define_pd_global(uintx, TLABSize, 0); 41 #ifdef _LP64 42 define_pd_global(uintx, NewSize, ScaleForWordSize(2048 * K)); 43 #else 44 define_pd_global(uintx, NewSize, ScaleForWordSize(1024 * K)); 45 #endif // _LP64 38 define_pd_global(intx, OptoLoopAlignment, 16); 46 39 define_pd_global(intx, InlineFrequencyCount, 100); 47 define_pd_global(intx, InlineSmallCode, 1000);48 40 define_pd_global(intx, PreInflateSpin, 10); 49 41 50 42 define_pd_global(intx, StackYellowPages, 2); 51 43 define_pd_global(intx, StackRedPages, 1); 52 define_pd_global(intx, StackShadowPages, 3 LP64_ONLY(+3) DEBUG_ONLY(+3));44 define_pd_global(intx, StackShadowPages, 5 LP64_ONLY(+1) DEBUG_ONLY(+3)); 53 45 54 46 define_pd_global(bool, RewriteBytecodes, true); -
trunk/openjdk/hotspot/src/cpu/zero/vm/icBuffer_zero.cpp
r2 r278 1 1 /* 2 * Copyright 2003-2006 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2003, 2006, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2007 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ -
trunk/openjdk/hotspot/src/cpu/zero/vm/icache_zero.cpp
r2 r278 1 1 /* 2 * Copyright 2003-2005 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2007, 2009 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ -
trunk/openjdk/hotspot/src/cpu/zero/vm/icache_zero.hpp
r2 r278 1 1 /* 2 * Copyright 2003-2004 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2003, 2004, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2007, 2009 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ -
trunk/openjdk/hotspot/src/cpu/zero/vm/interp_masm_zero.cpp
r2 r278 1 1 /* 2 * Copyright 1997-2007 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2009 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ -
trunk/openjdk/hotspot/src/cpu/zero/vm/interp_masm_zero.hpp
r2 r278 1 1 /* 2 * Copyright 2003-2007 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2003, 2007, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2007 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ -
trunk/openjdk/hotspot/src/cpu/zero/vm/interpreterFrame_zero.hpp
r2 r278 1 1 /* 2 * Copyright 2003-2007 Sun Microsystems, Inc. All Rights Reserved.3 * Copyright 2008 Red Hat, Inc.2 * Copyright (c) 2003, 2007, Oracle and/or its affiliates. All rights reserved. 3 * Copyright 2008, 2010 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 5 5 * … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ … … 56 56 57 57 public: 58 static InterpreterFrame *build(ZeroStack* stack, 59 const methodOop method, 60 JavaThread* thread); 61 static InterpreterFrame *build(ZeroStack* stack, int size); 58 static InterpreterFrame *build(const methodOop method, TRAPS); 59 static InterpreterFrame *build(int size, TRAPS); 62 60 63 61 public: -
trunk/openjdk/hotspot/src/cpu/zero/vm/interpreterGenerator_zero.hpp
r2 r278 1 1 /* 2 * Copyright 1997-2007 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2007 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ -
trunk/openjdk/hotspot/src/cpu/zero/vm/interpreterRT_zero.cpp
r2 r278 1 1 /* 2 * Copyright 2003-2005 Sun Microsystems, Inc. All Rights Reserved.3 * Copyright 2007, 2008 Red Hat, Inc.2 * Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved. 3 * Copyright 2007, 2008, 2010 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 5 5 * … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ … … 141 141 (align_size_up(sizeof(ffi_cif), wordSize) >> LogBytesPerWord) + 142 142 (method->is_static() ? 2 : 1) + method->size_of_parameters() + 1; 143 if (required_words > stack->available_words()) { 144 Unimplemented(); 145 } 143 144 stack->overflow_check(required_words, CHECK_NULL); 146 145 147 146 intptr_t *buf = (intptr_t *) stack->alloc(required_words * wordSize); -
trunk/openjdk/hotspot/src/cpu/zero/vm/interpreterRT_zero.hpp
r2 r278 1 1 /* 2 * Copyright 2003-2005 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2007, 2008 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ -
trunk/openjdk/hotspot/src/cpu/zero/vm/interpreter_zero.cpp
r2 r278 1 1 /* 2 * Copyright 2003-2007 Sun Microsystems, Inc. All Rights Reserved.3 * Copyright 2007, 2008 Red Hat, Inc.2 * Copyright (c) 2003, 2007, Oracle and/or its affiliates. All rights reserved. 3 * Copyright 2007, 2008, 2009, 2010 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 5 5 * … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ … … 48 48 } 49 49 50 bool AbstractInterpreter::can_be_compiled(methodHandle m) { 51 return true; 52 } 53 50 54 int AbstractInterpreter::size_activation(methodOop method, 51 55 int tempcount, -
trunk/openjdk/hotspot/src/cpu/zero/vm/interpreter_zero.hpp
r2 r278 1 1 /* 2 * Copyright 2003-2007 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2007, 2008 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ … … 37 37 public: 38 38 static int expr_index_at(int i) { 39 return stackElementWords() * i; 40 } 41 static int expr_tag_index_at(int i) { 42 assert(TaggedStackInterpreter, "should not call this"); 43 Unimplemented(); 39 return stackElementWords * i; 44 40 } 45 41 46 42 static int expr_offset_in_bytes(int i) { 47 return stackElementSize() * i; 48 } 49 static int expr_tag_offset_in_bytes(int i) { 50 assert(TaggedStackInterpreter, "should not call this"); 51 Unimplemented(); 43 return stackElementSize * i; 52 44 } 53 45 54 46 static int local_index_at(int i) { 55 47 assert(i <= 0, "local direction already negated"); 56 return stackElementWords () * i + (value_offset_in_bytes() / wordSize);48 return stackElementWords * i; 57 49 } 58 static int local_tag_index_at(int i) {59 assert(TaggedStackInterpreter, "should not call this");60 Unimplemented();61 } -
trunk/openjdk/hotspot/src/cpu/zero/vm/javaFrameAnchor_zero.hpp
r2 r278 1 1 /* 2 * Copyright 2003-2005 Sun Microsystems, Inc. All Rights Reserved.3 * Copyright 2007, 2008 Red Hat, Inc.2 * Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved. 3 * Copyright 2007, 2008, 2010 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 5 5 * … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ 25 26 private: 27 ZeroFrame* volatile _last_Java_fp; 25 28 26 29 public: … … 30 33 // 2 - saving a current state (javaCalls) 31 34 // 3 - restoring an old state (javaCalls) 35 // Note that whenever _last_Java_sp != NULL other anchor fields 36 // must be valid. The profiler apparently depends on this. 32 37 33 38 void clear() { … … 35 40 _last_Java_sp = NULL; 36 41 // fence? 42 _last_Java_fp = NULL; 37 43 _last_Java_pc = NULL; 38 44 } 39 45 40 46 void copy(JavaFrameAnchor* src) { 47 set(src->_last_Java_sp, src->_last_Java_pc, src->_last_Java_fp); 48 } 49 50 void set(intptr_t* sp, address pc, ZeroFrame* fp) { 41 51 // In order to make sure the transition state is valid for "this" 42 52 // We must clear _last_Java_sp before copying the rest of the new … … 47 57 // unless the value is changing 48 58 // 49 if (_last_Java_sp != s rc->_last_Java_sp)59 if (_last_Java_sp != sp) 50 60 _last_Java_sp = NULL; 51 61 52 _last_Java_pc = src->_last_Java_pc; 62 _last_Java_fp = fp; 63 _last_Java_pc = pc; 53 64 // Must be last so profiler will always see valid frame if 54 65 // has_last_frame() is true 55 _last_Java_sp = s rc->_last_Java_sp;66 _last_Java_sp = sp; 56 67 } 57 68 … … 68 79 } 69 80 70 void set_last_Java_sp(intptr_t* sp){71 _last_Java_sp = sp;81 ZeroFrame* last_Java_fp() const { 82 return _last_Java_fp; 72 83 } 84 85 address last_Java_pc() const { 86 return _last_Java_pc; 87 } 88 89 static ByteSize last_Java_fp_offset() { 90 return byte_offset_of(JavaFrameAnchor, _last_Java_fp); 91 } -
trunk/openjdk/hotspot/src/cpu/zero/vm/jniFastGetField_zero.cpp
r2 r278 1 1 /* 2 * Copyright 2004-2006 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2004, 2006, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2007 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ -
trunk/openjdk/hotspot/src/cpu/zero/vm/jniTypes_zero.hpp
r2 r278 1 1 /* 2 * Copyright 1998-2002 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1998, 2002, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 18 * 19 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,20 * CA 95054 USA or visit www.sun.com if you need additional information or21 * have anyquestions.19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 * or visit www.oracle.com if you need additional information or have any 21 * questions. 22 22 * 23 23 */ -
trunk/openjdk/hotspot/src/cpu/zero/vm/jni_zero.h
r2 r278 1 1 /* 2 * Copyright 1997-2004 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1997, 2004, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2009 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 6 6 * This code is free software; you can redistribute it and/or modify it 7 7 * under the terms of the GNU General Public License version 2 only, as 8 * published by the Free Software Foundation. Sundesignates this8 * published by the Free Software Foundation. Oracle designates this 9 9 * particular file as subject to the "Classpath" exception as provided 10 * by Sunin the LICENSE file that accompanied this code.10 * by Oracle in the LICENSE file that accompanied this code. 11 11 * 12 12 * This code is distributed in the hope that it will be useful, but WITHOUT … … 20 20 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 21 21 * 22 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,23 * CA 95054 USA or visit www.sun.com if you need additional information or24 * have anyquestions.22 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 23 * or visit www.oracle.com if you need additional information or have any 24 * questions. 25 25 */ 26 26 -
trunk/openjdk/hotspot/src/cpu/zero/vm/methodHandles_zero.cpp
r2 r278 1 1 /* 2 * Copyright 1997-2007 Sun Microsystems, Inc. All Rights Reserved.3 * Copyright 2009 Red Hat, Inc.2 * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. 3 * Copyright 2009, 2010 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 5 5 * … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ 25 25 26 // This file is intentionally empty 26 #include "incls/_precompiled.incl" 27 #include "incls/_methodHandles_zero.cpp.incl" 28 29 int MethodHandles::adapter_conversion_ops_supported_mask() { 30 ShouldNotCallThis(); 31 } 32 33 void MethodHandles::generate_method_handle_stub(MacroAssembler* masm, 34 MethodHandles::EntryKind ek) { 35 ShouldNotCallThis(); 36 } -
trunk/openjdk/hotspot/src/cpu/zero/vm/nativeInst_zero.cpp
r2 r278 1 1 /* 2 * Copyright 2003-2007 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2003, 2007, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2008 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ -
trunk/openjdk/hotspot/src/cpu/zero/vm/nativeInst_zero.hpp
r2 r278 1 1 /* 2 * Copyright 2003-2006 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2003, 2006, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2007 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ -
trunk/openjdk/hotspot/src/cpu/zero/vm/registerMap_zero.hpp
r2 r278 1 1 /* 2 * Copyright 1998-2007 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1998, 2007, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 18 * 19 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,20 * CA 95054 USA or visit www.sun.com if you need additional information or21 * have anyquestions.19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 * or visit www.oracle.com if you need additional information or have any 21 * questions. 22 22 * 23 23 */ -
trunk/openjdk/hotspot/src/cpu/zero/vm/register_definitions_zero.cpp
r2 r278 1 1 /* 2 * Copyright 1997-2007 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2009 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ -
trunk/openjdk/hotspot/src/cpu/zero/vm/register_zero.cpp
r2 r278 1 1 /* 2 * Copyright 2000-2007 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2000, 2007, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2007 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ -
trunk/openjdk/hotspot/src/cpu/zero/vm/register_zero.hpp
r2 r278 1 1 /* 2 * Copyright 2000-2007 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2000, 2007, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2007 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ -
trunk/openjdk/hotspot/src/cpu/zero/vm/relocInfo_zero.cpp
r2 r278 1 1 /* 2 * Copyright 2003-2005 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2007, 2009 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ -
trunk/openjdk/hotspot/src/cpu/zero/vm/relocInfo_zero.hpp
r2 r278 1 1 /* 2 * Copyright 2003-2005 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2007 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ -
trunk/openjdk/hotspot/src/cpu/zero/vm/sharedRuntime_zero.cpp
r2 r278 1 1 /* 2 * Copyright 2003-2007 Sun Microsystems, Inc. All Rights Reserved.3 * Copyright 2007, 2008, 2009 Red Hat, Inc.2 * Copyright (c) 2003, 2007, Oracle and/or its affiliates. All rights reserved. 3 * Copyright 2007, 2008, 2009, 2010 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 5 5 * … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ … … 48 48 int comp_args_on_stack, 49 49 const BasicType *sig_bt, 50 const VMRegPair *regs) { 51 return new AdapterHandlerEntry( 50 const VMRegPair *regs, 51 AdapterFingerPrint *fingerprint) { 52 return AdapterHandlerLibrary::new_entry( 53 fingerprint, 52 54 ShouldNotCallThisStub(), 53 55 ShouldNotCallThisStub(), -
trunk/openjdk/hotspot/src/cpu/zero/vm/sharkFrame_zero.hpp
r2 r278 1 1 /* 2 * Copyright 2003-2007 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2003, 2007, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2008, 2009 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ -
trunk/openjdk/hotspot/src/cpu/zero/vm/stack_zero.hpp
r2 r278 1 1 /* 2 * Copyright 2003-2007 Sun Microsystems, Inc. All Rights Reserved.3 * Copyright 2008, 2009 Red Hat, Inc.2 * Copyright (c) 2003, 2007, Oracle and/or its affiliates. All rights reserved. 3 * Copyright 2008, 2009, 2010 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 5 5 * … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ … … 30 30 intptr_t *_sp; // the top word on the stack 31 31 32 private: 33 int _shadow_pages_size; // how much ABI stack must we keep free? 34 32 35 public: 33 36 ZeroStack() 34 : _base(NULL), _top(NULL), _sp(NULL) {} 37 : _base(NULL), _top(NULL), _sp(NULL) { 38 _shadow_pages_size = StackShadowPages * os::vm_page_size(); 39 } 35 40 36 41 bool needs_setup() const { 37 42 return _base == NULL; 38 43 } 44 45 int suggest_size(Thread *thread) const; 39 46 40 47 void setup(void *mem, size_t size) { … … 63 70 } 64 71 72 int total_words() const { 73 return _top - _base; 74 } 65 75 int available_words() const { 66 76 return _sp - _base; … … 81 91 return _sp -= count; 82 92 } 93 94 int shadow_pages_size() const { 95 return _shadow_pages_size; 96 } 97 int abi_stack_available(Thread *thread) const; 98 99 public: 100 void overflow_check(int required_words, TRAPS); 101 static void handle_overflow(TRAPS); 102 103 public: 104 void zap(int c) PRODUCT_RETURN; 83 105 84 106 public: -
trunk/openjdk/hotspot/src/cpu/zero/vm/stubGenerator_zero.cpp
r2 r278 1 1 /* 2 * Copyright 2003-2007 Sun Microsystems, Inc. All Rights Reserved.3 * Copyright 2007, 2008 Red Hat, Inc.2 * Copyright (c) 2003, 2007, Oracle and/or its affiliates. All rights reserved. 3 * Copyright 2007, 2008, 2010 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 5 5 * … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ … … 52 52 bool stack_needs_teardown = false; 53 53 if (stack->needs_setup()) { 54 size_t stack_used = thread->stack_base() - (address) &stack_used; 55 size_t stack_free = thread->stack_size() - stack_used; 56 size_t zero_stack_size = align_size_down(stack_free / 2, wordSize); 57 54 size_t zero_stack_size = stack->suggest_size(thread); 58 55 stack->setup(alloca(zero_stack_size), zero_stack_size); 59 56 stack_needs_teardown = true; … … 61 58 62 59 // Allocate and initialize our frame 63 thread->push_zero_frame( 64 EntryFrame::build(stack, parameters, parameter_words, call_wrapper)); 65 66 // Make the call 67 Interpreter::invoke_method(method, entry_point, THREAD); 68 69 // Store result depending on type 60 EntryFrame *frame = 61 EntryFrame::build(parameters, parameter_words, call_wrapper, THREAD); 62 70 63 if (!HAS_PENDING_EXCEPTION) { 71 switch (result_type) { 72 case T_INT: 73 *(jint *) result = *(jint *) stack->sp(); 74 break; 75 case T_LONG: 76 *(jlong *) result = *(jlong *) stack->sp(); 77 break; 78 case T_FLOAT: 79 *(jfloat *) result = *(jfloat *) stack->sp(); 80 break; 81 case T_DOUBLE: 82 *(jdouble *) result = *(jdouble *) stack->sp(); 83 break; 84 case T_OBJECT: 85 *(oop *) result = *(oop *) stack->sp(); 86 break; 87 default: 88 ShouldNotReachHere(); 64 // Push the frame 65 thread->push_zero_frame(frame); 66 67 // Make the call 68 Interpreter::invoke_method(method, entry_point, THREAD); 69 70 // Store the result 71 if (!HAS_PENDING_EXCEPTION) { 72 switch (result_type) { 73 case T_INT: 74 *(jint *) result = *(jint *) stack->sp(); 75 break; 76 case T_LONG: 77 *(jlong *) result = *(jlong *) stack->sp(); 78 break; 79 case T_FLOAT: 80 *(jfloat *) result = *(jfloat *) stack->sp(); 81 break; 82 case T_DOUBLE: 83 *(jdouble *) result = *(jdouble *) stack->sp(); 84 break; 85 case T_OBJECT: 86 *(oop *) result = *(oop *) stack->sp(); 87 break; 88 default: 89 ShouldNotReachHere(); 90 } 89 91 } 92 93 // Unwind the frame 94 thread->pop_zero_frame(); 90 95 } 91 92 // Unwind our frame93 thread->pop_zero_frame();94 96 95 97 // Tear down the stack if necessary … … 227 229 } 228 230 229 EntryFrame *EntryFrame::build(ZeroStack* stack, 230 const intptr_t* parameters, 231 EntryFrame *EntryFrame::build(const intptr_t* parameters, 231 232 int parameter_words, 232 JavaCallWrapper* call_wrapper) { 233 if (header_words + parameter_words > stack->available_words()) { 234 Unimplemented(); 235 } 233 JavaCallWrapper* call_wrapper, 234 TRAPS) { 235 236 ZeroStack *stack = ((JavaThread *) THREAD)->zero_stack(); 237 stack->overflow_check(header_words + parameter_words, CHECK_NULL); 236 238 237 239 stack->push(0); // next_frame, filled in later -
trunk/openjdk/hotspot/src/cpu/zero/vm/stubRoutines_zero.cpp
r2 r278 1 1 /* 2 * Copyright 2003-2005 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2008, 2009 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ -
trunk/openjdk/hotspot/src/cpu/zero/vm/stubRoutines_zero.hpp
r2 r278 1 1 /* 2 * Copyright 2003-2005 Sun Microsystems, Inc. All Rights Reserved.3 * Copyright 2007, 2008, 2009 Red Hat, Inc.2 * Copyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved. 3 * Copyright 2007, 2008, 2009, 2010 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 5 5 * … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ … … 42 42 }; // them if that happens. 43 43 44 enum method_handles_platform_dependent_constants { 45 method_handles_adapters_code_size = 0 46 }; 47 44 48 #ifdef IA32 45 49 class x86 { -
trunk/openjdk/hotspot/src/cpu/zero/vm/templateInterpreterGenerator_zero.hpp
r2 r278 1 1 /* 2 * Copyright 1997-2007 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2009 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ -
trunk/openjdk/hotspot/src/cpu/zero/vm/templateInterpreter_zero.cpp
r2 r278 1 1 /* 2 * Copyright 1997-2007 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2009 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ -
trunk/openjdk/hotspot/src/cpu/zero/vm/templateInterpreter_zero.hpp
r2 r278 1 1 /* 2 * Copyright 1997-2007 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2009 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ -
trunk/openjdk/hotspot/src/cpu/zero/vm/templateTable_zero.cpp
r2 r278 1 1 /* 2 * Copyright 1997-2007 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2009 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ -
trunk/openjdk/hotspot/src/cpu/zero/vm/templateTable_zero.hpp
r2 r278 1 1 /* 2 * Copyright 1997-2007 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2009 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ -
trunk/openjdk/hotspot/src/cpu/zero/vm/vmStructs_zero.hpp
r2 r278 1 1 /* 2 * Copyright 2003-2007 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2003, 2007, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2007 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ -
trunk/openjdk/hotspot/src/cpu/zero/vm/vm_version_zero.cpp
r2 r278 1 1 /* 2 * Copyright 1997-2007 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2009 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ -
trunk/openjdk/hotspot/src/cpu/zero/vm/vm_version_zero.hpp
r2 r278 1 1 /* 2 * Copyright 2003-2006 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2003, 2006, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2007 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ -
trunk/openjdk/hotspot/src/cpu/zero/vm/vmreg_zero.cpp
r2 r278 1 1 /* 2 * Copyright 2006-2007 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2006, 2007, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2007 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ -
trunk/openjdk/hotspot/src/cpu/zero/vm/vmreg_zero.hpp
r2 r278 1 1 /* 2 * Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved. 3 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 * … … 17 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 18 * 19 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,20 * CA 95054 USA or visit www.sun.com if you need additional information or21 * have anyquestions.19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 * or visit www.oracle.com if you need additional information or have any 21 * questions. 22 22 * 23 23 */ -
trunk/openjdk/hotspot/src/cpu/zero/vm/vmreg_zero.inline.hpp
r2 r278 1 1 /* 2 * Copyright 2006-2007 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2006, 2007, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2007 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */ -
trunk/openjdk/hotspot/src/cpu/zero/vm/vtableStubs_zero.cpp
r2 r278 1 1 /* 2 * Copyright 2003-2006 Sun Microsystems, Inc. All Rights Reserved.2 * Copyright (c) 2003, 2006, Oracle and/or its affiliates. All rights reserved. 3 3 * Copyright 2007 Red Hat, Inc. 4 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. … … 18 18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 19 19 * 20 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,21 * CA 95054 USA or visit www.sun.com if you need additional information or22 * have anyquestions.20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 21 * or visit www.oracle.com if you need additional information or have any 22 * questions. 23 23 * 24 24 */
Note:
See TracChangeset
for help on using the changeset viewer.