comparison src/share/vm/graal/graalCompilerToVM.cpp @ 9760:c76b43ed5089

Added infrastructure for recording invoked methods in the profiling information.
author Christian Haeubl <haeubl@ssw.jku.at>
date Fri, 17 May 2013 15:38:22 +0200
parents d04944441454
children 1b60f639ac4b
comparison
equal deleted inserted replaced
9759:580faa2ee288 9760:c76b43ed5089
685 set_int("epochMaskInPlace", (int) markOopDesc::epoch_mask_in_place); 685 set_int("epochMaskInPlace", (int) markOopDesc::epoch_mask_in_place);
686 set_int("biasedLockPattern", (int) markOopDesc::biased_lock_pattern); 686 set_int("biasedLockPattern", (int) markOopDesc::biased_lock_pattern);
687 set_int("methodMaxLocalsOffset", in_bytes(ConstMethod::size_of_locals_offset())); 687 set_int("methodMaxLocalsOffset", in_bytes(ConstMethod::size_of_locals_offset()));
688 set_int("methodConstMethodOffset", in_bytes(Method::const_offset())); 688 set_int("methodConstMethodOffset", in_bytes(Method::const_offset()));
689 set_int("constMethodMaxStackOffset", in_bytes(ConstMethod::max_stack_offset())); 689 set_int("constMethodMaxStackOffset", in_bytes(ConstMethod::max_stack_offset()));
690 set_int("constMethodConstantsOffset", in_bytes(ConstMethod::constants_offset()));
691 set_int("constantPoolHolderOffset", ConstantPool::pool_holder_offset_in_bytes());
690 set_int("extraStackEntries", Method::extra_stack_entries()); 692 set_int("extraStackEntries", Method::extra_stack_entries());
691 set_int("methodAccessFlagsOffset", in_bytes(Method::access_flags_offset())); 693 set_int("methodAccessFlagsOffset", in_bytes(Method::access_flags_offset()));
692 set_int("methodIntrinsicIdOffset", Method::intrinsic_id_offset_in_bytes()); 694 set_int("methodIntrinsicIdOffset", Method::intrinsic_id_offset_in_bytes());
693 set_int("klassHasFinalizerFlag", JVM_ACC_HAS_FINALIZER); 695 set_int("klassHasFinalizerFlag", JVM_ACC_HAS_FINALIZER);
694 set_int("threadExceptionOopOffset", in_bytes(JavaThread::exception_oop_offset())); 696 set_int("threadExceptionOopOffset", in_bytes(JavaThread::exception_oop_offset()));
728 set_int("dataLayoutBCIOffset", in_bytes(DataLayout::bci_offset())); 730 set_int("dataLayoutBCIOffset", in_bytes(DataLayout::bci_offset()));
729 set_int("dataLayoutCellsOffset", in_bytes(DataLayout::cell_offset(0))); 731 set_int("dataLayoutCellsOffset", in_bytes(DataLayout::cell_offset(0)));
730 set_int("dataLayoutCellSize", DataLayout::cell_size); 732 set_int("dataLayoutCellSize", DataLayout::cell_size);
731 set_int("bciProfileWidth", BciProfileWidth); 733 set_int("bciProfileWidth", BciProfileWidth);
732 set_int("typeProfileWidth", TypeProfileWidth); 734 set_int("typeProfileWidth", TypeProfileWidth);
735 set_int("methodProfileWidth", MethodProfileWidth);
733 736
734 set_int("tlabAlignmentReserve", (int32_t)ThreadLocalAllocBuffer::alignment_reserve()); 737 set_int("tlabAlignmentReserve", (int32_t)ThreadLocalAllocBuffer::alignment_reserve());
735 set_long("tlabIntArrayMarkWord", (intptr_t)markOopDesc::prototype()->copy_set_hash(0x2)); 738 set_long("tlabIntArrayMarkWord", (intptr_t)markOopDesc::prototype()->copy_set_hash(0x2));
736 set_long("heapTopAddress", (jlong)(address) Universe::heap()->top_addr()); 739 set_long("heapTopAddress", (jlong)(address) Universe::heap()->top_addr());
737 set_long("heapEndAddress", (jlong)(address) Universe::heap()->end_addr()); 740 set_long("heapEndAddress", (jlong)(address) Universe::heap()->end_addr());