/hg/icedtea8-forest/hotspot: 4 new changesets
andrew at icedtea.classpath.org
andrew at icedtea.classpath.org
Mon Jul 31 03:03:10 UTC 2017
changeset eea89df81a8e in /hg/icedtea8-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=eea89df81a8e
author: asaha
date: Tue Jul 11 23:51:17 2017 -0700
Added tag jdk8u141-b15 for changeset 23f1790147d8
changeset db36f4d498b1 in /hg/icedtea8-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=db36f4d498b1
author: asaha
date: Thu Jul 20 23:10:21 2017 -0700
Added tag jdk8u144-b00 for changeset eea89df81a8e
changeset ecaa25cbc662 in /hg/icedtea8-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=ecaa25cbc662
author: andrew
date: Thu Jul 27 01:47:40 2017 +0100
Merge jdk8u144-b01
changeset 542c122b1d7d in /hg/icedtea8-forest/hotspot
details: http://icedtea.classpath.org/hg/icedtea8-forest/hotspot?cmd=changeset;node=542c122b1d7d
author: andrew
date: Mon Jul 31 04:13:32 2017 +0100
Added tag icedtea-3.5.1 for changeset ecaa25cbc662
diffstat:
.hgtags | 49 +-
.jcheck/conf | 2 -
THIRD_PARTY_README | 1 -
agent/make/Makefile | 9 +-
agent/src/os/linux/LinuxDebuggerLocal.c | 22 +-
agent/src/os/linux/Makefile | 5 +-
agent/src/os/linux/elfmacros.h | 2 +
agent/src/os/linux/libproc.h | 7 +
agent/src/os/linux/ps_core.c | 25 +-
agent/src/os/linux/ps_proc.c | 52 +-
agent/src/share/classes/sun/jvm/hotspot/HSDB.java | 20 +-
agent/src/share/classes/sun/jvm/hotspot/debugger/MachineDescriptionAARCH64.java | 39 +
agent/src/share/classes/sun/jvm/hotspot/debugger/aarch64/AARCH64ThreadContext.java | 118 +
agent/src/share/classes/sun/jvm/hotspot/debugger/linux/LinuxCDebugger.java | 10 +
agent/src/share/classes/sun/jvm/hotspot/debugger/linux/aarch64/LinuxAARCH64CFrame.java | 86 +
agent/src/share/classes/sun/jvm/hotspot/debugger/linux/aarch64/LinuxAARCH64ThreadContext.java | 47 +
agent/src/share/classes/sun/jvm/hotspot/debugger/proc/ProcDebuggerLocal.java | 6 +
agent/src/share/classes/sun/jvm/hotspot/debugger/proc/aarch64/ProcAARCH64Thread.java | 87 +
agent/src/share/classes/sun/jvm/hotspot/debugger/proc/aarch64/ProcAARCH64ThreadContext.java | 47 +
agent/src/share/classes/sun/jvm/hotspot/debugger/proc/aarch64/ProcAARCH64ThreadFactory.java | 45 +
agent/src/share/classes/sun/jvm/hotspot/debugger/remote/aarch64/RemoteAARCH64Thread.java | 54 +
agent/src/share/classes/sun/jvm/hotspot/debugger/remote/aarch64/RemoteAARCH64ThreadContext.java | 47 +
agent/src/share/classes/sun/jvm/hotspot/debugger/remote/aarch64/RemoteAARCH64ThreadFactory.java | 45 +
agent/src/share/classes/sun/jvm/hotspot/runtime/Threads.java | 3 +
agent/src/share/classes/sun/jvm/hotspot/runtime/aarch64/AARCH64CurrentFrameGuess.java | 244 +
agent/src/share/classes/sun/jvm/hotspot/runtime/aarch64/AARCH64Frame.java | 555 +
agent/src/share/classes/sun/jvm/hotspot/runtime/aarch64/AARCH64JavaCallWrapper.java | 57 +
agent/src/share/classes/sun/jvm/hotspot/runtime/aarch64/AARCH64RegisterMap.java | 52 +
agent/src/share/classes/sun/jvm/hotspot/runtime/linux_aarch64/LinuxAARCH64JavaThreadPDAccess.java | 132 +
agent/src/share/classes/sun/jvm/hotspot/utilities/PlatformInfo.java | 4 +-
make/aix/makefiles/defs.make | 6 +
make/aix/makefiles/jsig.make | 2 +
make/aix/makefiles/saproc.make | 4 +
make/aix/makefiles/vm.make | 2 +
make/bsd/makefiles/defs.make | 11 +
make/bsd/makefiles/jsig.make | 2 +
make/bsd/makefiles/saproc.make | 2 +
make/bsd/makefiles/vm.make | 2 +
make/defs.make | 13 +-
make/linux/makefiles/aarch64.make | 38 +
make/linux/makefiles/buildtree.make | 3 +
make/linux/makefiles/defs.make | 21 +
make/linux/makefiles/gcc.make | 14 +-
make/linux/makefiles/jsig.make | 4 +
make/linux/makefiles/rules.make | 20 +-
make/linux/makefiles/sa.make | 1 +
make/linux/makefiles/saproc.make | 4 +
make/linux/makefiles/vm.make | 68 +-
make/linux/platform_aarch64 | 15 +
make/sa.files | 6 +
make/solaris/makefiles/adlc.make | 6 +-
make/solaris/makefiles/defs.make | 7 +
make/solaris/makefiles/gcc.make | 4 +-
make/solaris/makefiles/jsig.make | 4 +
make/solaris/makefiles/saproc.make | 4 +
make/solaris/makefiles/vm.make | 12 +
make/windows/makefiles/debug.make | 2 +
make/windows/makefiles/defs.make | 6 +
make/windows/makefiles/fastdebug.make | 4 +-
make/windows/makefiles/product.make | 2 +
make/windows/makefiles/sa.make | 2 +
make/windows/makefiles/vm.make | 8 +
src/cpu/aarch64/vm/aarch64.ad | 16919 ++++++++++
src/cpu/aarch64/vm/aarch64Test.cpp | 38 +
src/cpu/aarch64/vm/aarch64_ad.m4 | 367 +
src/cpu/aarch64/vm/aarch64_call.cpp | 197 +
src/cpu/aarch64/vm/aarch64_linkage.S | 163 +
src/cpu/aarch64/vm/ad_encode.m4 | 73 +
src/cpu/aarch64/vm/assembler_aarch64.cpp | 1546 +
src/cpu/aarch64/vm/assembler_aarch64.hpp | 2565 +
src/cpu/aarch64/vm/assembler_aarch64.inline.hpp | 34 +
src/cpu/aarch64/vm/bytecodeInterpreter_aarch64.cpp | 57 +
src/cpu/aarch64/vm/bytecodeInterpreter_aarch64.hpp | 117 +
src/cpu/aarch64/vm/bytecodeInterpreter_aarch64.inline.hpp | 287 +
src/cpu/aarch64/vm/bytecodes_aarch64.cpp | 39 +
src/cpu/aarch64/vm/bytecodes_aarch64.hpp | 32 +
src/cpu/aarch64/vm/bytes_aarch64.hpp | 76 +
src/cpu/aarch64/vm/c1_CodeStubs_aarch64.cpp | 470 +
src/cpu/aarch64/vm/c1_Defs_aarch64.hpp | 82 +
src/cpu/aarch64/vm/c1_FpuStackSim_aarch64.cpp | 203 +
src/cpu/aarch64/vm/c1_FpuStackSim_aarch64.hpp | 74 +
src/cpu/aarch64/vm/c1_FrameMap_aarch64.cpp | 361 +
src/cpu/aarch64/vm/c1_FrameMap_aarch64.hpp | 149 +
src/cpu/aarch64/vm/c1_LIRAssembler_aarch64.cpp | 3296 +
src/cpu/aarch64/vm/c1_LIRAssembler_aarch64.hpp | 83 +
src/cpu/aarch64/vm/c1_LIRGenerator_aarch64.cpp | 1433 +
src/cpu/aarch64/vm/c1_LinearScan_aarch64.cpp | 34 +
src/cpu/aarch64/vm/c1_LinearScan_aarch64.hpp | 77 +
src/cpu/aarch64/vm/c1_MacroAssembler_aarch64.cpp | 459 +
src/cpu/aarch64/vm/c1_MacroAssembler_aarch64.hpp | 110 +
src/cpu/aarch64/vm/c1_Runtime1_aarch64.cpp | 1453 +
src/cpu/aarch64/vm/c1_globals_aarch64.hpp | 79 +
src/cpu/aarch64/vm/c2_globals_aarch64.hpp | 89 +
src/cpu/aarch64/vm/c2_init_aarch64.cpp | 37 +
src/cpu/aarch64/vm/codeBuffer_aarch64.hpp | 36 +
src/cpu/aarch64/vm/compiledIC_aarch64.cpp | 153 +
src/cpu/aarch64/vm/copy_aarch64.hpp | 62 +
src/cpu/aarch64/vm/cppInterpreterGenerator_aarch64.hpp | 35 +
src/cpu/aarch64/vm/cpustate_aarch64.hpp | 592 +
src/cpu/aarch64/vm/debug_aarch64.cpp | 36 +
src/cpu/aarch64/vm/decode_aarch64.hpp | 409 +
src/cpu/aarch64/vm/depChecker_aarch64.cpp | 31 +
src/cpu/aarch64/vm/depChecker_aarch64.hpp | 32 +
src/cpu/aarch64/vm/disassembler_aarch64.hpp | 38 +
src/cpu/aarch64/vm/frame_aarch64.cpp | 847 +
src/cpu/aarch64/vm/frame_aarch64.hpp | 217 +
src/cpu/aarch64/vm/frame_aarch64.inline.hpp | 332 +
src/cpu/aarch64/vm/globalDefinitions_aarch64.hpp | 44 +
src/cpu/aarch64/vm/globals_aarch64.hpp | 139 +
src/cpu/aarch64/vm/icBuffer_aarch64.cpp | 77 +
src/cpu/aarch64/vm/icache_aarch64.cpp | 41 +
src/cpu/aarch64/vm/icache_aarch64.hpp | 45 +
src/cpu/aarch64/vm/immediate_aarch64.cpp | 312 +
src/cpu/aarch64/vm/immediate_aarch64.hpp | 51 +
src/cpu/aarch64/vm/interp_masm_aarch64.cpp | 1730 +
src/cpu/aarch64/vm/interp_masm_aarch64.hpp | 300 +
src/cpu/aarch64/vm/interpreterGenerator_aarch64.hpp | 57 +
src/cpu/aarch64/vm/interpreterRT_aarch64.cpp | 429 +
src/cpu/aarch64/vm/interpreterRT_aarch64.hpp | 66 +
src/cpu/aarch64/vm/interpreter_aarch64.cpp | 314 +
src/cpu/aarch64/vm/interpreter_aarch64.hpp | 44 +
src/cpu/aarch64/vm/javaFrameAnchor_aarch64.hpp | 95 +
src/cpu/aarch64/vm/jniFastGetField_aarch64.cpp | 175 +
src/cpu/aarch64/vm/jniTypes_aarch64.hpp | 108 +
src/cpu/aarch64/vm/jni_aarch64.h | 64 +
src/cpu/aarch64/vm/macroAssembler_aarch64.cpp | 4891 ++
src/cpu/aarch64/vm/macroAssembler_aarch64.hpp | 1314 +
src/cpu/aarch64/vm/macroAssembler_aarch64.inline.hpp | 36 +
src/cpu/aarch64/vm/metaspaceShared_aarch64.cpp | 127 +
src/cpu/aarch64/vm/methodHandles_aarch64.cpp | 444 +
src/cpu/aarch64/vm/methodHandles_aarch64.hpp | 63 +
src/cpu/aarch64/vm/nativeInst_aarch64.cpp | 325 +
src/cpu/aarch64/vm/nativeInst_aarch64.hpp | 490 +
src/cpu/aarch64/vm/registerMap_aarch64.hpp | 46 +
src/cpu/aarch64/vm/register_aarch64.cpp | 55 +
src/cpu/aarch64/vm/register_aarch64.hpp | 258 +
src/cpu/aarch64/vm/register_definitions_aarch64.cpp | 156 +
src/cpu/aarch64/vm/relocInfo_aarch64.cpp | 119 +
src/cpu/aarch64/vm/relocInfo_aarch64.hpp | 39 +
src/cpu/aarch64/vm/runtime_aarch64.cpp | 48 +
src/cpu/aarch64/vm/sharedRuntime_aarch64.cpp | 3136 +
src/cpu/aarch64/vm/stubGenerator_aarch64.cpp | 4317 ++
src/cpu/aarch64/vm/stubRoutines_aarch64.cpp | 277 +
src/cpu/aarch64/vm/stubRoutines_aarch64.hpp | 129 +
src/cpu/aarch64/vm/templateInterpreterGenerator_aarch64.hpp | 36 +
src/cpu/aarch64/vm/templateInterpreter_aarch64.cpp | 2206 +
src/cpu/aarch64/vm/templateInterpreter_aarch64.hpp | 40 +
src/cpu/aarch64/vm/templateTable_aarch64.cpp | 3859 ++
src/cpu/aarch64/vm/templateTable_aarch64.hpp | 43 +
src/cpu/aarch64/vm/vmStructs_aarch64.hpp | 51 +
src/cpu/aarch64/vm/vm_version_aarch64.cpp | 336 +
src/cpu/aarch64/vm/vm_version_aarch64.hpp | 116 +
src/cpu/aarch64/vm/vmreg_aarch64.cpp | 52 +
src/cpu/aarch64/vm/vmreg_aarch64.hpp | 35 +
src/cpu/aarch64/vm/vmreg_aarch64.inline.hpp | 65 +
src/cpu/aarch64/vm/vtableStubs_aarch64.cpp | 251 +
src/cpu/ppc/vm/sharedRuntime_ppc.cpp | 3 +-
src/cpu/ppc/vm/vm_version_ppc.cpp | 8 +-
src/cpu/sparc/vm/vm_version_sparc.cpp | 9 +-
src/cpu/x86/vm/c1_LIRAssembler_x86.cpp | 4 +-
src/cpu/x86/vm/templateTable_x86_64.cpp | 4 -
src/cpu/x86/vm/vm_version_x86.cpp | 5 +
src/cpu/x86/vm/x86_64.ad | 61 +-
src/cpu/zero/vm/entry_zero.hpp | 4 +-
src/cpu/zero/vm/methodHandles_zero.hpp | 6 +-
src/cpu/zero/vm/nativeInst_zero.cpp | 3 +-
src/cpu/zero/vm/vm_version_zero.cpp | 11 +-
src/cpu/zero/vm/vm_version_zero.hpp | 3 +-
src/os/linux/vm/os_linux.cpp | 240 +-
src/os/linux/vm/os_linux.hpp | 48 +-
src/os/posix/vm/os_posix.cpp | 6 +-
src/os_cpu/linux_aarch64/vm/assembler_linux_aarch64.cpp | 53 +
src/os_cpu/linux_aarch64/vm/atomic_linux_aarch64.inline.hpp | 235 +
src/os_cpu/linux_aarch64/vm/bytes_linux_aarch64.inline.hpp | 44 +
src/os_cpu/linux_aarch64/vm/copy_linux_aarch64.inline.hpp | 248 +
src/os_cpu/linux_aarch64/vm/copy_linux_aarch64.s | 411 +
src/os_cpu/linux_aarch64/vm/globals_linux_aarch64.hpp | 44 +
src/os_cpu/linux_aarch64/vm/linux_aarch64.S | 25 +
src/os_cpu/linux_aarch64/vm/linux_aarch64.ad | 68 +
src/os_cpu/linux_aarch64/vm/orderAccess_linux_aarch64.inline.hpp | 144 +
src/os_cpu/linux_aarch64/vm/os_linux_aarch64.cpp | 766 +
src/os_cpu/linux_aarch64/vm/os_linux_aarch64.hpp | 58 +
src/os_cpu/linux_aarch64/vm/os_linux_aarch64.inline.hpp | 39 +
src/os_cpu/linux_aarch64/vm/prefetch_linux_aarch64.inline.hpp | 45 +
src/os_cpu/linux_aarch64/vm/threadLS_linux_aarch64.cpp | 41 +
src/os_cpu/linux_aarch64/vm/threadLS_linux_aarch64.hpp | 36 +
src/os_cpu/linux_aarch64/vm/thread_linux_aarch64.cpp | 92 +
src/os_cpu/linux_aarch64/vm/thread_linux_aarch64.hpp | 85 +
src/os_cpu/linux_aarch64/vm/vmStructs_linux_aarch64.hpp | 54 +
src/os_cpu/linux_aarch64/vm/vm_version_linux_aarch64.cpp | 28 +
src/os_cpu/linux_x86/vm/os_linux_x86.cpp | 2 +-
src/share/tools/hsdis/Makefile | 11 +-
src/share/tools/hsdis/hsdis.c | 3 +
src/share/vm/adlc/formssel.cpp | 3 +-
src/share/vm/adlc/main.cpp | 5 +
src/share/vm/asm/assembler.hpp | 8 +-
src/share/vm/asm/assembler.inline.hpp | 3 +
src/share/vm/asm/codeBuffer.hpp | 3 +
src/share/vm/asm/macroAssembler.hpp | 3 +
src/share/vm/asm/macroAssembler.inline.hpp | 3 +
src/share/vm/asm/register.hpp | 3 +
src/share/vm/c1/c1_Canonicalizer.cpp | 7 +
src/share/vm/c1/c1_Compilation.cpp | 26 +
src/share/vm/c1/c1_Defs.hpp | 6 +
src/share/vm/c1/c1_FpuStackSim.hpp | 3 +
src/share/vm/c1/c1_FrameMap.cpp | 3 +
src/share/vm/c1/c1_FrameMap.hpp | 3 +
src/share/vm/c1/c1_LIR.cpp | 25 +-
src/share/vm/c1/c1_LIR.hpp | 23 +-
src/share/vm/c1/c1_LIRAssembler.cpp | 9 +
src/share/vm/c1/c1_LIRAssembler.hpp | 3 +
src/share/vm/c1/c1_LIRGenerator.cpp | 2 +-
src/share/vm/c1/c1_LinearScan.cpp | 11 +-
src/share/vm/c1/c1_LinearScan.hpp | 3 +
src/share/vm/c1/c1_MacroAssembler.hpp | 3 +
src/share/vm/c1/c1_Runtime1.cpp | 38 +-
src/share/vm/c1/c1_Runtime1.hpp | 4 +-
src/share/vm/c1/c1_ValueMap.hpp | 8 +-
src/share/vm/c1/c1_globals.hpp | 3 +
src/share/vm/ci/ciField.cpp | 4 +
src/share/vm/classfile/bytecodeAssembler.cpp | 3 +
src/share/vm/classfile/classFileParser.cpp | 5 +-
src/share/vm/classfile/classFileStream.hpp | 3 +
src/share/vm/classfile/stackMapTable.hpp | 3 +
src/share/vm/classfile/symbolTable.cpp | 51 +-
src/share/vm/classfile/symbolTable.hpp | 17 +-
src/share/vm/classfile/verifier.cpp | 3 +
src/share/vm/code/codeBlob.cpp | 3 +
src/share/vm/code/compiledIC.hpp | 7 +
src/share/vm/code/nmethod.cpp | 22 +
src/share/vm/code/relocInfo.hpp | 3 +
src/share/vm/code/vmreg.hpp | 5 +
src/share/vm/compiler/disassembler.cpp | 5 +-
src/share/vm/compiler/disassembler.hpp | 3 +
src/share/vm/compiler/oopMap.cpp | 7 +
src/share/vm/gc_implementation/concurrentMarkSweep/compactibleFreeListSpace.cpp | 2 +-
src/share/vm/gc_implementation/concurrentMarkSweep/concurrentMarkSweepGeneration.cpp | 18 +-
src/share/vm/gc_implementation/g1/concurrentMark.cpp | 2 +-
src/share/vm/gc_implementation/g1/g1CodeCacheRemSet.cpp | 4 +-
src/share/vm/gc_implementation/g1/g1CollectedHeap.cpp | 2 +-
src/share/vm/gc_implementation/g1/g1MarkSweep.cpp | 11 +
src/share/vm/gc_implementation/g1/g1PageBasedVirtualSpace.hpp | 2 +-
src/share/vm/gc_implementation/g1/g1StringDedupQueue.cpp | 2 +-
src/share/vm/gc_implementation/g1/g1StringDedupTable.cpp | 2 +-
src/share/vm/gc_implementation/g1/heapRegion.cpp | 2 +-
src/share/vm/gc_implementation/parNew/parNewGeneration.cpp | 15 +-
src/share/vm/gc_implementation/parallelScavenge/parallelScavengeHeap.cpp | 12 +
src/share/vm/gc_implementation/parallelScavenge/psParallelCompact.cpp | 20 +-
src/share/vm/gc_implementation/parallelScavenge/psScavenge.cpp | 28 +
src/share/vm/interpreter/abstractInterpreter.hpp | 2 +
src/share/vm/interpreter/bytecode.hpp | 3 +
src/share/vm/interpreter/bytecodeInterpreter.hpp | 6 +
src/share/vm/interpreter/bytecodeInterpreter.inline.hpp | 3 +
src/share/vm/interpreter/bytecodeStream.hpp | 3 +
src/share/vm/interpreter/bytecodes.cpp | 3 +
src/share/vm/interpreter/bytecodes.hpp | 3 +
src/share/vm/interpreter/cppInterpreter.hpp | 3 +
src/share/vm/interpreter/cppInterpreterGenerator.hpp | 8 +
src/share/vm/interpreter/interpreter.hpp | 3 +
src/share/vm/interpreter/interpreterGenerator.hpp | 3 +
src/share/vm/interpreter/interpreterRuntime.cpp | 7 +-
src/share/vm/interpreter/interpreterRuntime.hpp | 5 +-
src/share/vm/interpreter/templateInterpreter.hpp | 3 +
src/share/vm/interpreter/templateInterpreterGenerator.hpp | 5 +
src/share/vm/interpreter/templateTable.cpp | 5 +
src/share/vm/interpreter/templateTable.hpp | 7 +
src/share/vm/memory/allocation.inline.hpp | 2 +-
src/share/vm/memory/collectorPolicy.cpp | 14 +-
src/share/vm/memory/defNewGeneration.cpp | 13 +
src/share/vm/memory/generation.cpp | 12 +
src/share/vm/memory/metaspace.cpp | 48 +-
src/share/vm/memory/metaspaceShared.cpp | 4 +
src/share/vm/memory/metaspaceShared.hpp | 4 +
src/share/vm/memory/tenuredGeneration.cpp | 12 +
src/share/vm/oops/constantPool.hpp | 3 +
src/share/vm/oops/instanceKlass.cpp | 17 +
src/share/vm/oops/method.cpp | 17 +
src/share/vm/oops/method.hpp | 7 +-
src/share/vm/oops/objArrayKlass.inline.hpp | 4 +-
src/share/vm/oops/oop.inline.hpp | 3 +
src/share/vm/opto/addnode.cpp | 8 +-
src/share/vm/opto/buildOopMap.cpp | 3 +
src/share/vm/opto/c2_globals.hpp | 3 +
src/share/vm/opto/c2compiler.cpp | 2 +
src/share/vm/opto/callnode.hpp | 14 +
src/share/vm/opto/chaitin.hpp | 5 +-
src/share/vm/opto/compile.cpp | 36 +
src/share/vm/opto/doCall.cpp | 26 +-
src/share/vm/opto/gcm.cpp | 2 +
src/share/vm/opto/graphKit.cpp | 2 +-
src/share/vm/opto/lcm.cpp | 9 +-
src/share/vm/opto/locknode.hpp | 2 +
src/share/vm/opto/loopTransform.cpp | 4 +-
src/share/vm/opto/macro.cpp | 8 +-
src/share/vm/opto/matcher.cpp | 2 +
src/share/vm/opto/memnode.cpp | 4 +-
src/share/vm/opto/mulnode.cpp | 23 +-
src/share/vm/opto/output.hpp | 2 +
src/share/vm/opto/regmask.cpp | 2 +
src/share/vm/opto/regmask.hpp | 2 +
src/share/vm/opto/runtime.cpp | 2 +
src/share/vm/opto/subnode.cpp | 8 +-
src/share/vm/opto/type.cpp | 23 +-
src/share/vm/prims/jniCheck.cpp | 3 +
src/share/vm/prims/jni_md.h | 3 +
src/share/vm/prims/jvm.cpp | 10 +
src/share/vm/prims/jvm.h | 5 +
src/share/vm/prims/jvmtiClassFileReconstituter.cpp | 3 +
src/share/vm/prims/jvmtiExport.cpp | 7 +
src/share/vm/prims/jvmtiTagMap.cpp | 2 +
src/share/vm/prims/methodHandles.hpp | 8 +
src/share/vm/prims/unsafe.cpp | 52 +
src/share/vm/runtime/advancedThresholdPolicy.cpp | 5 +-
src/share/vm/runtime/arguments.cpp | 22 +-
src/share/vm/runtime/atomic.inline.hpp | 3 +
src/share/vm/runtime/deoptimization.cpp | 5 +
src/share/vm/runtime/dtraceJSDT.hpp | 3 +
src/share/vm/runtime/frame.cpp | 3 +
src/share/vm/runtime/frame.hpp | 5 +
src/share/vm/runtime/frame.inline.hpp | 6 +
src/share/vm/runtime/globals.hpp | 17 +-
src/share/vm/runtime/icache.hpp | 3 +
src/share/vm/runtime/interfaceSupport.hpp | 18 +-
src/share/vm/runtime/java.cpp | 3 +
src/share/vm/runtime/javaCalls.hpp | 3 +
src/share/vm/runtime/javaFrameAnchor.hpp | 3 +
src/share/vm/runtime/mutex.cpp | 10 -
src/share/vm/runtime/orderAccess.inline.hpp | 3 +
src/share/vm/runtime/os.hpp | 7 +
src/share/vm/runtime/prefetch.inline.hpp | 3 +
src/share/vm/runtime/registerMap.hpp | 6 +
src/share/vm/runtime/relocator.hpp | 3 +
src/share/vm/runtime/safepoint.cpp | 4 +
src/share/vm/runtime/sharedRuntime.cpp | 26 +
src/share/vm/runtime/stackValueCollection.cpp | 3 +
src/share/vm/runtime/statSampler.cpp | 3 +
src/share/vm/runtime/stubRoutines.cpp | 5 +
src/share/vm/runtime/stubRoutines.hpp | 12 +-
src/share/vm/runtime/sweeper.cpp | 3 +
src/share/vm/runtime/thread.hpp | 5 +-
src/share/vm/runtime/thread.inline.hpp | 2 +-
src/share/vm/runtime/threadLocalStorage.hpp | 3 +
src/share/vm/runtime/vframeArray.cpp | 2 +-
src/share/vm/runtime/vmStructs.cpp | 10 +-
src/share/vm/runtime/vm_version.cpp | 4 +
src/share/vm/utilities/copy.cpp | 171 +-
src/share/vm/utilities/copy.hpp | 15 +-
src/share/vm/utilities/globalDefinitions.hpp | 34 +
src/share/vm/utilities/hashtable.cpp | 31 +-
src/share/vm/utilities/hashtable.hpp | 22 +-
src/share/vm/utilities/macros.hpp | 8 +
src/share/vm/utilities/vmError.cpp | 10 +-
test/TEST.groups | 3 +-
test/aarch64/DoubleArithTests.java | 49 +
test/aarch64/DoubleCmpTests.java | 102 +
test/aarch64/FloatArithTests.java | 49 +
test/aarch64/FloatCmpTests.java | 102 +
test/aarch64/IntArithTests.java | 131 +
test/aarch64/IntCmpTests.java | 102 +
test/aarch64/IntLogicTests.java | 66 +
test/aarch64/IntShiftTests.java | 78 +
test/aarch64/LongArithTests.java | 132 +
test/aarch64/LongCmpTests.java | 102 +
test/aarch64/LongLogicTests.java | 68 +
test/aarch64/LongShiftTests.java | 77 +
test/compiler/c1/UnsafeVolatileGuardTest.java | 72 +
test/compiler/c1/VolatileGuardTest.java | 52 +
test/compiler/codegen/8144028/BitTests.java | 164 +
test/compiler/codegen/IntRotateWithImmediate.java | 24 +-
test/compiler/floatingpoint/TestFloatJNIArgs.java | 86 +
test/compiler/floatingpoint/TestFloatJNIArgs.sh | 104 +
test/compiler/floatingpoint/libTestFloatJNIArgs.c | 68 +
test/compiler/intrinsics/mathexact/sanity/IntrinsicBase.java | 4 +-
test/compiler/intrinsics/multiplytolen/TestMultiplyToLen.java | 25 +
test/compiler/intrinsics/sha/cli/SHAOptionsBase.java | 13 +
test/compiler/intrinsics/sha/cli/TestUseSHA1IntrinsicsOptionOnSupportedCPU.java | 7 +-
test/compiler/intrinsics/sha/cli/TestUseSHA1IntrinsicsOptionOnUnsupportedCPU.java | 2 +
test/compiler/intrinsics/sha/cli/TestUseSHA256IntrinsicsOptionOnSupportedCPU.java | 7 +-
test/compiler/intrinsics/sha/cli/TestUseSHA256IntrinsicsOptionOnUnsupportedCPU.java | 2 +
test/compiler/intrinsics/sha/cli/TestUseSHA512IntrinsicsOptionOnSupportedCPU.java | 7 +-
test/compiler/intrinsics/sha/cli/TestUseSHA512IntrinsicsOptionOnUnsupportedCPU.java | 2 +
test/compiler/intrinsics/sha/cli/TestUseSHAOptionOnSupportedCPU.java | 2 +
test/compiler/intrinsics/sha/cli/TestUseSHAOptionOnUnsupportedCPU.java | 2 +
test/compiler/intrinsics/sha/cli/testcases/GenericTestCaseForOtherCPU.java | 3 +-
test/compiler/intrinsics/sha/cli/testcases/GenericTestCaseForSupportedAArch64CPU.java | 93 +
test/compiler/intrinsics/sha/cli/testcases/GenericTestCaseForUnsupportedAArch64CPU.java | 66 +
test/compiler/stable/StableConfiguration.java | 22 +-
test/compiler/testlibrary/sha/predicate/IntrinsicPredicates.java | 21 +-
test/compiler/unsafe/JdkInternalMiscUnsafeUnalignedAccess.java | 315 +
test/compiler/vectorization/TestVectorUnalignedOffset.java | 55 +
test/gc/arguments/TestAggressiveHeap.java | 91 +
test/gc/metaspace/TestPerfCountersAndMemoryPools.java | 4 +-
392 files changed, 69929 insertions(+), 331 deletions(-)
diffs (truncated from 75656 to 500 lines):
diff -r 23f1790147d8 -r 542c122b1d7d .hgtags
--- a/.hgtags Tue Jul 11 23:27:13 2017 -0700
+++ b/.hgtags Mon Jul 31 04:13:32 2017 +0100
@@ -50,6 +50,7 @@
faf94d94786b621f8e13cbcc941ca69c6d967c3f jdk7-b73
f4b900403d6e4b0af51447bd13bbe23fe3a1dac7 jdk7-b74
d8dd291a362acb656026a9c0a9da48501505a1e7 jdk7-b75
+b4ab978ce52c41bb7e8ee86285e6c9f28122bbe1 icedtea7-1.12
9174bb32e934965288121f75394874eeb1fcb649 jdk7-b76
455105fc81d941482f8f8056afaa7aa0949c9300 jdk7-b77
e703499b4b51e3af756ae77c3d5e8b3058a14e4e jdk7-b78
@@ -87,6 +88,7 @@
07226e9eab8f74b37346b32715f829a2ef2c3188 hs18-b01
e7e7e36ccdb5d56edd47e5744351202d38f3b7ad jdk7-b87
4b60f23c42231f7ecd62ad1fcb6a9ca26fa57d1b jdk7-b88
+a393ff93e7e54dd94cc4211892605a32f9c77dad icedtea7-1.13
15836273ac2494f36ef62088bc1cb6f3f011f565 jdk7-b89
4b60f23c42231f7ecd62ad1fcb6a9ca26fa57d1b hs18-b02
605c9707a766ff518cd841fc04f9bb4b36a3a30b jdk7-b90
@@ -160,6 +162,7 @@
b898f0fc3cedc972d884d31a751afd75969531cf hs21-b05
bd586e392d93b7ed7a1636dcc8da2b6a4203a102 jdk7-b136
bd586e392d93b7ed7a1636dcc8da2b6a4203a102 hs21-b06
+591c7dc0b2ee879f87a7b5519a5388e0d81520be icedtea-1.14
2dbcb4a4d8dace5fe78ceb563b134f1fb296cd8f jdk7-b137
2dbcb4a4d8dace5fe78ceb563b134f1fb296cd8f hs21-b07
0930dc920c185afbf40fed9a655290b8e5b16783 jdk7-b138
@@ -305,6 +308,7 @@
990bbd393c239d95310ccc38094e57923bbf1d4a hs25-b14
e94068d4ff52849c8aa0786a53a59b63d1312a39 jdk8-b70
0847210f85480bf3848dc90bc2ab23c0a4791b55 jdk8-b71
+2c52e96f640d60368c2efd07e1acfe35ec3e0045 initial_upload
d5cb5830f570d1304ea4b196dde672a291b55f29 jdk8-b72
1e129851479e4f5df439109fca2c7be1f1613522 hs25-b15
11619f33cd683c2f1d6ef72f1c6ff3dacf5a9f1c jdk8-b73
@@ -322,7 +326,7 @@
df5396524152118535c36da5801d828b560d19a2 hs25-b21
4a198b201f3ce84433fa94a3ca65d061473e7c4c jdk8-b80
dd6350b4abc4a6c19c89dd982cc0e4f3d119885c hs25-b22
-65b797426a3bec6e91b64085a0cfb94adadb634a jdk8-b81
+31390de29c4bb5f7e78b2e970f92197c04a4ed4d aarch64-20130813
0631ebcc45f05c73b09a56c2586685af1f781c1d hs25-b23
3db4ab0e12f437fe374817de346b2b0c6b4a5b31 jdk8-b82
e3a41fc0234895eba4f272b984f7dacff495f8eb hs25-b24
@@ -381,6 +385,8 @@
566db1b0e6efca31f181456e54c8911d0192410d hs25-b51
c81dd5393a5e333df7cb1f6621f5897ada6522b5 jdk8-b109
58043478c26d4e8bf48700acea5f97aba8b417d4 hs25-b52
+f043f9395d362da011b111cf8c142af1caf6f64d preview_rc1
+33029403ab5913db80c4e4d1870809d3ade8e81c preview_rc2
6209b0ed51c086d4127bac0e086c8f326d1764d7 jdk8-b110
562a3d356de67670b4172b82aca2d30743449e04 hs25-b53
f6962730bbde82f279a0ae3a1c14bc5e58096c6e jdk8-b111
@@ -418,12 +424,17 @@
d45454002494d147c0761e6b37d8a73064f3cf92 hs25-b68
32f017489ba5dd1bedabb9fa1d26bcc74d0a72b6 hs25-b69
35038da7bb9ddd367a0a6bf926dfb281aee1d554 jdk8-b127
+18e5cbbe8abf64a043e2482c625e04acde33a3f8 jdk8_b128_aarch64_rc1
+39d28a8ea5be4e5c1ce659b7e6b3dadbbb1f908b jdk8_b128_aarch64_rc3
+cc094e1af98de679e81d17d3fc2653158c7b26c6 jdk8_b128_aarch64_rc4
+e5b35062dee3eaeac2fb80aac932cbcc36256c92 jdk8_b128_aarch64_992
874c0b4a946c362bbf20d37c2a564b39093152e6 jdk8-b128
cb39165c4a65bbff8db356df411e762f9e5423b8 jdk8-b129
1dbaf664a611e5d9cab6d1be42537b67d0d05f94 jdk8-b130
b5e7ebfe185cb4c2eeb8a919025fc6a26be2fcef jdk8-b131
9f9179e8f0cfe74c08f3716cf3c38e21e1de4c4a hs25-b70
0c94c41dcd70e9a9b4d96e31275afd5a73daa72d jdk8-b132
+72b29bfe67fa902516bca75c166a29fccb8c5be2 jdk8_final
4a35ef38e2a7bc64df20c7700ba69b37e3ddb8b5 jdk8u5-b01
e5561d89fe8bfc79cd6c8fcc36d270cc6a49ec6e jdk8u5-b02
2f9eb9fcab6c42c8c84ddb44170ea33235116d84 jdk8u5-b03
@@ -471,6 +482,7 @@
5186bc5047c1725888ed99f423bdfaa116e05abe hs25.20-b09
4d73f1e99f97d1444e16ee5ef4634eb2129969ad jdk8u20-b09
27a9e6a96a8ced7b7ee892d5d0f1a735b9010abb hs25.20-b10
+c2767d7216058484f87920557a3f9282506e5ce5 icedtea-3.0.0pre01
300e2c5eeb2710de3630d14ffe4592214633dbff jdk8u20-b10
70dc2c030c69470a5d9099b7f54e4cfef89276fd jdk8u20-b11
b6a2ba7d3ea7259a76c8ff1ec22fac9094494c1c hs25.20-b11
@@ -496,6 +508,7 @@
e4a6e7f1b90b85270aee1c54edaca3ef737082f1 hs25.20-b21
f7429096a202cab5c36a0f20dea33c554026010f jdk8u20-b22
7c56530b11496459e66cb9ea933035002311672c hs25.20-b22
+877471da7fbbe69d029b990b77a70e7fcf3d02ed icedtea-3.0.0pre02
f09d1f6a401e25a54dad44bb7bea482e47558af5 jdk8u20-b23
42ddd0bbcb6630fe463ec9bc1893c838d5edff1b jdk8u20-b24
00cf2b6f51b9560b01030e8f4c28c466f0b21fe3 hs25.20-b23
@@ -574,6 +587,9 @@
6b93bf9ea3ea57ed0fe53cfedb2f9ab912c324e5 jdk8u40-b12
521e269ae1daa9df1cb0835b97aa76bdf340fcb2 hs25.40-b17
86307d47790785398d0695acc361bccaefe25f94 jdk8u40-b13
+b280f4f4f11916e202aaa4d458630d4c26b59e2a jdk8u40-b12-aarch64
+26fc60dd5da8d3f1554fb8f2553f050839a539c6 jdk8u40-b12-aarch64-1262
+d7c03eb8b2c2bc4d34438699f07609ba4c4bca5c jdk8u40-b12-aarch64-1263
4d5dc0d0f8799fafa1135d51d85edd4edd566501 hs25.40-b18
b8ca8ec1daea70f7c0d519e866f9f147ec247055 jdk8u40-b14
eb16b24e2eba9bdf04a9b377bebc2db9f713ff5e jdk8u40-b15
@@ -588,6 +604,9 @@
d9349fa8822336e0244da0a8448f3e6b2d62741d jdk8u40-b19
c3933f52eeb33f70ee562464edddfe9f01d944fd jdk8u40-b20
d2e9a6bec4f2eec8506eed16f7324992a85d8480 hs25.40-b24
+85e5201a55e4dcf1b5dbb90bcfee072245e8a458 icedtea-3.0.0pre03
+7e5a87c79d696b280bae72ee7510e2a438c45960 icedtea-3.0.0pre04
+b07272ef9ccdf3066fbfd6e28bac10baad9417b6 icedtea-3.0.0pre05
25ec4a67433744bbe3406e5069e7fd1876ebbf2f jdk8u40-b21
0f0cb4eeab2d871274f4ffdcd6017d2fdfa89238 hs25.40-b25
0ee548a1cda08c884eccd563e2d5fdb6ee769b5a jdk8u40-b22
@@ -722,6 +741,11 @@
0e4094950cd312c8f95c7f37336606323fe049fe jdk8u60-b23
d89ceecf1bad55e1aee2932b8895d60fc64c15db hs25.60-b23
fb157d537278cda4150740e27bb57cd8694e15bf jdk8u60-b24
+11098f828fb815a467e77729f2055d6b1575ad3e arch64-jdk8u60-b24
+8ec803e97a0d578eaeaf8375ee295a5928eb546f aarch64-jdk8u60-b24.2
+2ee4407fe4e4ae13c5c7ef20709616cb3f43dea9 icedtea-3.0.0pre06
+ddebea156752c9a58ab2ab82f5dc28efee5f8f82 icedtea-3.0.0pre07
+c313c4782bb33aa4ea49f1342c54b3138af418a1 icedtea-3.0.0pre08
6b4ea38c01bd9cc86d0aa8926f4855ff6ee365ee jdk8u60-b25
6a6759372807f49aa7a66ddc36aa91d6648d2097 jdk8u60-b26
10ad4b9d79f98fa3545c88a342a68a80d198b808 jdk8u60-b27
@@ -801,6 +825,7 @@
b8e7dd0e21173ad829b40361763d27cb6ac532e9 jdk8u72-b12
a8e4754b89aecc388623394a20f6d43d4c58f083 jdk8u72-b13
dc2fdd4e0b8105268b8231040f761f27ab4523f2 jdk8u72-b14
+dbf85d44da89a2428b3bd678be791c314e148845 icedtea-3.0.0pre09
d6670c5d49ba381405ec9f69a78ccc5b8b0c8473 jdk8u72-b15
da43260704c28b9f19cb652090ae65c258220fd6 jdk8u72-b31
26b99cd20661a1fa05939d1856a9389311e01c4f jdk8u73-b00
@@ -835,6 +860,9 @@
1b6d4fd2730e58f17820930f797938dc182117c4 jdk8u77-b00
ddd297e340b1170d3cec011ee64e729f8b493c86 jdk8u77-b01
1b4072e4bb3ad54c4e894998486a8b33f0689160 jdk8u77-b02
+e9585e814cc954c06e870f3bdf37171029da0d5e icedtea-3.0.0pre10
+5e587a29a6aac06d6b5a7ebeea99a291d82520c8 icedtea-3.0.0
+49b8cecd1bbe2c2ba0ad1aec6722078b621866a1 icedtea-3.0-branchpoint
223b64a19e94222dd97b92bb40abcfbc0bf6ef1f jdk8u77-b03
bbbb05e91c629f8d9eef2ba43933767f68a898b0 jdk8u91-b00
e36b6ade0499eadfd8673fe62ef0a613af2e6d67 jdk8u91-b13
@@ -859,6 +887,10 @@
9a87701e22b3cae79fdfd8cdb732051e02a710fa jdk8u76-b12
481dcde745b6aec035781ed9f6797cfc93719f71 jdk8u92-b00
f3e1e734e2d29101a9537ddeb71ecad413fcd352 jdk8u92-b13
+cbd30c92ef7a62846124e28b35aaf668621b1105 icedtea-3.1.0pre01
+76eca5cf31500ecb1d1807685729a7ea5c3780e7 icedtea-3.1.0pre02
+ea6933324a7a52379d7f1e18e7525fd619079865 icedtea-3.1.0pre03
+0f47eef348e2ec17dd6492886c57e23023fbc435 icedtea-3.1.0pre04
24a09407d71bb2cc4848bfa21660c890b4d722b1 jdk8u92-b14
445941ba41c0e3829fe02140690b144281ac2141 jdk8u92-b31
f958bebdee267695e37aadd27753ac8b1e1823c8 jdk8u92-b32
@@ -877,6 +909,8 @@
218a44a163fa8c2532fd5f2e8ea9bc3c9c2ca8cf jdk8u101-b10
0095e54dcaa1acfe1614feff9600734c26af7ae8 jdk8u101-b11
286fe17d81c3d153611a28e50926083ae934cc56 jdk8u101-b12
+e480e0df8eea8e5d022672a450cd6c8e2eeac86b icedtea-3.1.0
+90416ba05ba1cde27da26ca1e6cc66062e883c17 icedtea-3.2.0pre01
77df35b662ed98236f67ab18e23691460f986981 jdk8u101-b13
d6c92b9e192ef97305a699e868387d55821c81ad jdk8u102-b00
d6c92b9e192ef97305a699e868387d55821c81ad jdk8u82-b00
@@ -893,6 +927,8 @@
36a1a2875ed55fa17818f3eb203e27922a7b4589 jdk8u102-b11
340e1a736ef7169786e70db7f31ffd32bc3be24d jdk8u102-b12
f6daf04c0f48dab5420ad63d21da82a7fa4e3ad7 jdk8u102-b13
+ac19c2e28a511cacde863e39802c2e5277e1665f icedtea-3.2.0pre02
+bca09127475293c1938b5413fbf25af2c281c597 icedtea-3.2.0pre03
ac29c9c1193aef5d480b200ed94c5d579243c17b jdk8u102-b14
96e1c72fc617d3c6c125bcfc9182f77fc6aa38e6 jdk8u102-b31
c8988d2e4212583ec0f04591c8e241ad3cf95674 jdk8u102-b32
@@ -913,6 +949,7 @@
603804f2132ff188a9f3d1c31cca63b47220e2e2 jdk8u111-b11
055bc2a065a503e8714ff7ad27e6197dc0339efa jdk8u111-b12
c3b42c43c230f10e79ae850ee9062fe86d3c75c9 jdk8u111-b13
+be4aeaa327f739d02d2c66a433ab2946ef19c5fb icedtea-3.2.0
05a6a5823aa58a0a4720a328a9db484f21d573bc jdk8u111-b14
b09a69142dd3bf78ca66bb0c99046ca7cccbdda9 jdk8u112-b00
cf1faa9100dd8c8df6e1a604aaf613d037f51ebf jdk8u112-b01
@@ -930,6 +967,7 @@
c2c4db2a42a215c98a4f027edb8bbb00dd62d9b9 jdk8u112-b14
b28d012a24cab8f4ceeee0c9d3252969757423ed jdk8u112-b15
e134dc1879b72124e478be01680b0646a2fbf585 jdk8u112-b16
+510bf6178ea48859804d69715a78b82b8d2c58d3 icedtea-3.3.0pre01
87440ed4e1de7753a436f957d35555d8b4e26f1d jdk8u112-b31
3b0e5f01891f5ebbf67797b1aae786196f1bb4f6 jdk8u121-b00
251a2493b1857f2ff4f11eab2dfd8b2fe8ed441b jdk8u121-b01
@@ -944,6 +982,9 @@
f26f6895c9dfb32dfb4c228d69b371d8ab118536 jdk8u121-b10
11f91811e4d7e5ddfaf938dcf386ec8fe5bf7b7c jdk8u121-b11
b132b08b28bf23a26329928cf6b4ffda5857f4d3 jdk8u121-b12
+2a767107aa8c8142d96eb95142b1ac82cf646568 icedtea-3.3.0pre02
+6efaf77e82a17344499a277f1909bd3825b1b5ac icedtea-3.3.0
+0bd3170be8c729dfaa88e7aa97449b2f36c650a9 icedtea-3.4.0pre01
90f94521c3515e5f27af0ab9b31d036e88bb322a jdk8u121-b13
c0a1ba0df20fda10ddb8599e888eb56ad98b3874 jdk8u131-b00
0b85ccd6240991e1a501602ff5addec6b88ae0af jdk8u131-b01
@@ -956,6 +997,8 @@
db221c0a423e776bec5c3198d11d3f26827bd786 jdk8u131-b08
56e71d16083904ceddfdd1d66312582a42781646 jdk8u131-b09
1da23ae49386608550596502d90a381ee6c1dfaa jdk8u131-b10
+00b7bbd261c972b38d4ecc2925f445c28de6fcb3 icedtea-3.4.0
+654b7fcb4932d48063f5f1fba0c8994db5e02976 icedtea-3.5.0pre01
829ea9b92cda9545652f1b309f56c57383024ebb jdk8u131-b11
692bc6b674dcab72453de08ee9da0856a7e41c0f jdk8u141-b00
0cee0db0180b64655751e7058c251103f9660f85 jdk8u141-b01
@@ -972,3 +1015,7 @@
d6e7c7d2c6f69906b4cb643a6813eccba0de988f jdk8u141-b12
df6af363337eff5b22ae7940b0981231fdf5dfb4 jdk8u141-b13
3a1543e089c32592be9c201c6e021295fbf5fdc1 jdk8u141-b14
+24ab92601b895b36ffc66e50e634cb962f8f6c1e icedtea-3.5.0
+23f1790147d838ddb1133cc79dc08e7c9ba5ab44 jdk8u141-b15
+eea89df81a8e414813d921eeeeef9b6795f56698 jdk8u144-b00
+ecaa25cbc662396ad7ea422bf43e23098af2100e icedtea-3.5.1
diff -r 23f1790147d8 -r 542c122b1d7d .jcheck/conf
--- a/.jcheck/conf Tue Jul 11 23:27:13 2017 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-project=jdk8
-bugids=dup
diff -r 23f1790147d8 -r 542c122b1d7d THIRD_PARTY_README
--- a/THIRD_PARTY_README Tue Jul 11 23:27:13 2017 -0700
+++ b/THIRD_PARTY_README Mon Jul 31 04:13:32 2017 +0100
@@ -3060,4 +3060,3 @@
--- end of LICENSE ---
-------------------------------------------------------------------------------
-
diff -r 23f1790147d8 -r 542c122b1d7d agent/make/Makefile
--- a/agent/make/Makefile Tue Jul 11 23:27:13 2017 -0700
+++ b/agent/make/Makefile Mon Jul 31 04:13:32 2017 +0100
@@ -58,11 +58,13 @@
sun.jvm.hotspot.debugger.dummy \
sun.jvm.hotspot.debugger.linux \
sun.jvm.hotspot.debugger.linux.amd64 \
+sun.jvm.hotspot.debugger.linux.aarch64 \
sun.jvm.hotspot.debugger.linux.x86 \
sun.jvm.hotspot.debugger.posix \
sun.jvm.hotspot.debugger.posix.elf \
sun.jvm.hotspot.debugger.proc \
sun.jvm.hotspot.debugger.proc.amd64 \
+sun.jvm.hotspot.debugger.proc.aarch64 \
sun.jvm.hotspot.debugger.proc.sparc \
sun.jvm.hotspot.debugger.proc.x86 \
sun.jvm.hotspot.debugger.remote \
@@ -88,11 +90,13 @@
sun.jvm.hotspot.prims \
sun.jvm.hotspot.runtime \
sun.jvm.hotspot.runtime.amd64 \
+sun.jvm.hotspot.runtime.aarch64 \
sun.jvm.hotspot.runtime.bsd \
sun.jvm.hotspot.runtime.bsd_amd64 \
sun.jvm.hotspot.runtime.bsd_x86 \
sun.jvm.hotspot.runtime.linux \
sun.jvm.hotspot.runtime.linux_amd64 \
+sun.jvm.hotspot.runtime.linux_aarch64 \
sun.jvm.hotspot.runtime.linux_sparc \
sun.jvm.hotspot.runtime.linux_x86 \
sun.jvm.hotspot.runtime.posix \
@@ -143,12 +147,13 @@
sun/jvm/hotspot/debugger/dummy/*.java \
sun/jvm/hotspot/debugger/linux/*.java \
sun/jvm/hotspot/debugger/linux/x86/*.java \
+sun/jvm/hotspot/debugger/linux/aarch64/*.java \
sun/jvm/hotspot/debugger/posix/*.java \
sun/jvm/hotspot/debugger/posix/elf/*.java \
sun/jvm/hotspot/debugger/proc/*.java \
-sun/jvm/hotspot/debugger/proc/amd64/*.java \
sun/jvm/hotspot/debugger/proc/sparc/*.java \
sun/jvm/hotspot/debugger/proc/x86/*.java \
+sun/jvm/hotspot/debugger/proc/aarch64/*.java \
sun/jvm/hotspot/debugger/remote/*.java \
sun/jvm/hotspot/debugger/remote/amd64/*.java \
sun/jvm/hotspot/debugger/remote/sparc/*.java \
@@ -169,11 +174,13 @@
sun/jvm/hotspot/prims/*.java \
sun/jvm/hotspot/runtime/*.java \
sun/jvm/hotspot/runtime/amd64/*.java \
+sun/jvm/hotspot/runtime/aarch64/*.java \
sun/jvm/hotspot/runtime/bsd/*.java \
sun/jvm/hotspot/runtime/bsd_amd64/*.java \
sun/jvm/hotspot/runtime/bsd_x86/*.java \
sun/jvm/hotspot/runtime/linux/*.java \
sun/jvm/hotspot/runtime/linux_amd64/*.java \
+sun/jvm/hotspot/runtime/linux_aarch64/*.java \
sun/jvm/hotspot/runtime/linux_sparc/*.java \
sun/jvm/hotspot/runtime/linux_x86/*.java \
sun/jvm/hotspot/runtime/posix/*.java \
diff -r 23f1790147d8 -r 542c122b1d7d agent/src/os/linux/LinuxDebuggerLocal.c
--- a/agent/src/os/linux/LinuxDebuggerLocal.c Tue Jul 11 23:27:13 2017 -0700
+++ b/agent/src/os/linux/LinuxDebuggerLocal.c Mon Jul 31 04:13:32 2017 +0100
@@ -49,6 +49,10 @@
#include "sun_jvm_hotspot_debugger_sparc_SPARCThreadContext.h"
#endif
+#ifdef aarch64
+#include "sun_jvm_hotspot_debugger_aarch64_AARCH64ThreadContext.h"
+#endif
+
static jfieldID p_ps_prochandle_ID = 0;
static jfieldID threadList_ID = 0;
static jfieldID loadObjectList_ID = 0;
@@ -333,7 +337,7 @@
return (err == PS_OK)? array : 0;
}
-#if defined(i386) || defined(amd64) || defined(sparc) || defined(sparcv9)
+#if defined(i386) || defined(amd64) || defined(sparc) || defined(sparcv9) || defined(aarch64)
JNIEXPORT jlongArray JNICALL Java_sun_jvm_hotspot_debugger_linux_LinuxDebuggerLocal_getThreadIntegerRegisterSet0
(JNIEnv *env, jobject this_obj, jint lwp_id) {
@@ -355,6 +359,9 @@
#ifdef amd64
#define NPRGREG sun_jvm_hotspot_debugger_amd64_AMD64ThreadContext_NPRGREG
#endif
+#ifdef aarch64
+#define NPRGREG sun_jvm_hotspot_debugger_aarch64_AARCH64ThreadContext_NPRGREG
+#endif
#if defined(sparc) || defined(sparcv9)
#define NPRGREG sun_jvm_hotspot_debugger_sparc_SPARCThreadContext_NPRGREG
#endif
@@ -450,6 +457,19 @@
regs[REG_INDEX(R_O7)] = gregs.u_regs[14];
#endif /* sparc */
+#if defined(aarch64)
+
+#define REG_INDEX(reg) sun_jvm_hotspot_debugger_aarch64_AARCH64ThreadContext_##reg
+
+ {
+ int i;
+ for (i = 0; i < 31; i++)
+ regs[i] = gregs.regs[i];
+ regs[REG_INDEX(SP)] = gregs.sp;
+ regs[REG_INDEX(PC)] = gregs.pc;
+ }
+#endif /* aarch64 */
+
(*env)->ReleaseLongArrayElements(env, array, regs, JNI_COMMIT);
return array;
diff -r 23f1790147d8 -r 542c122b1d7d agent/src/os/linux/Makefile
--- a/agent/src/os/linux/Makefile Tue Jul 11 23:27:13 2017 -0700
+++ b/agent/src/os/linux/Makefile Mon Jul 31 04:13:32 2017 +0100
@@ -53,14 +53,15 @@
$(JAVAH) -jni -classpath ../../../build/classes -d $(ARCH) \
sun.jvm.hotspot.debugger.x86.X86ThreadContext \
sun.jvm.hotspot.debugger.sparc.SPARCThreadContext \
- sun.jvm.hotspot.debugger.amd64.AMD64ThreadContext
+ sun.jvm.hotspot.debugger.amd64.AMD64ThreadContext \
+ sun.jvm.hotspot.debugger.aarch64.AARCH64ThreadContext
$(GCC) $(CFLAGS) $< -o $@
$(ARCH)/sadis.o: ../../share/native/sadis.c
$(JAVAH) -jni -classpath ../../../build/classes -d $(ARCH) \
sun.jvm.hotspot.asm.Disassembler
$(GCC) $(CFLAGS) $< -o $@
-
+
$(ARCH)/%.o: %.c
$(GCC) $(CFLAGS) $< -o $@
diff -r 23f1790147d8 -r 542c122b1d7d agent/src/os/linux/elfmacros.h
--- a/agent/src/os/linux/elfmacros.h Tue Jul 11 23:27:13 2017 -0700
+++ b/agent/src/os/linux/elfmacros.h Mon Jul 31 04:13:32 2017 +0100
@@ -33,6 +33,7 @@
#define ELF_NHDR Elf64_Nhdr
#define ELF_DYN Elf64_Dyn
#define ELF_ADDR Elf64_Addr
+#define ELF_AUXV Elf64_auxv_t
#define ELF_ST_TYPE ELF64_ST_TYPE
@@ -45,6 +46,7 @@
#define ELF_NHDR Elf32_Nhdr
#define ELF_DYN Elf32_Dyn
#define ELF_ADDR Elf32_Addr
+#define ELF_AUXV Elf32_auxv_t
#define ELF_ST_TYPE ELF32_ST_TYPE
diff -r 23f1790147d8 -r 542c122b1d7d agent/src/os/linux/libproc.h
--- a/agent/src/os/linux/libproc.h Tue Jul 11 23:27:13 2017 -0700
+++ b/agent/src/os/linux/libproc.h Mon Jul 31 04:13:32 2017 +0100
@@ -36,6 +36,10 @@
#include <sys/ptrace.h>
+#if defined(aarch64)
+#include "asm/ptrace.h"
+#endif
+
/************************************************************************************
0. This is very minimal subset of Solaris libproc just enough for current application.
@@ -72,6 +76,9 @@
#include <asm/ptrace.h>
#define user_regs_struct pt_regs
#endif
+#if defined(aarch64)
+#define user_regs_struct user_pt_regs
+#endif
// This C bool type must be int for compatibility with Linux calls and
// it would be a mistake to equivalence it to C++ bool on many platforms
diff -r 23f1790147d8 -r 542c122b1d7d agent/src/os/linux/ps_core.c
--- a/agent/src/os/linux/ps_core.c Tue Jul 11 23:27:13 2017 -0700
+++ b/agent/src/os/linux/ps_core.c Mon Jul 31 04:13:32 2017 +0100
@@ -642,6 +642,18 @@
if (core_handle_prstatus(ph, descdata, notep->n_descsz) != true) {
return false;
}
+ } else if (notep->n_type == NT_AUXV) {
+ // Get first segment from entry point
+ ELF_AUXV *auxv = (ELF_AUXV *)descdata;
+ while (auxv->a_type != AT_NULL) {
+ if (auxv->a_type == AT_ENTRY) {
+ // Set entry point address to address of dynamic section.
+ // We will adjust it in read_exec_segments().
+ ph->core->dynamic_addr = auxv->a_un.a_val;
+ break;
+ }
+ auxv++;
+ }
}
p = descdata + ROUNDUP(notep->n_descsz, 4);
}
@@ -826,7 +838,13 @@
// from PT_DYNAMIC we want to read address of first link_map addr
case PT_DYNAMIC: {
- ph->core->dynamic_addr = exec_php->p_vaddr;
+ if (exec_ehdr->e_type == ET_EXEC) {
+ ph->core->dynamic_addr = exec_php->p_vaddr;
+ } else { // ET_DYN
+ // dynamic_addr has entry point of executable.
+ // Thus we should substract it.
+ ph->core->dynamic_addr += exec_php->p_vaddr - exec_ehdr->e_entry;
+ }
print_debug("address of _DYNAMIC is 0x%lx\n", ph->core->dynamic_addr);
break;
}
@@ -1024,8 +1042,9 @@
goto err;
}
- if (read_elf_header(ph->core->exec_fd, &exec_ehdr) != true || exec_ehdr.e_type != ET_EXEC) {
- print_debug("executable file is not a valid ELF ET_EXEC file\n");
+ if (read_elf_header(ph->core->exec_fd, &exec_ehdr) != true ||
+ ((exec_ehdr.e_type != ET_EXEC) && (exec_ehdr.e_type != ET_DYN))) {
+ print_debug("executable file is not a valid ELF file\n");
goto err;
}
diff -r 23f1790147d8 -r 542c122b1d7d agent/src/os/linux/ps_proc.c
--- a/agent/src/os/linux/ps_proc.c Tue Jul 11 23:27:13 2017 -0700
+++ b/agent/src/os/linux/ps_proc.c Mon Jul 31 04:13:32 2017 +0100
@@ -277,7 +277,7 @@
static bool read_lib_info(struct ps_prochandle* ph) {
char fname[32];
- char buf[256];
+ char buf[PATH_MAX];
FILE *fp = NULL;
sprintf(fname, "/proc/%d/maps", ph->pid);
@@ -287,10 +287,52 @@
return false;
}
- while(fgets_no_cr(buf, 256, fp)){
- char * word[6];
- int nwords = split_n_str(buf, 6, word, ' ', '\0');
- if (nwords > 5 && find_lib(ph, word[5]) == false) {
+ while(fgets_no_cr(buf, PATH_MAX, fp)){
+ char * word[7];
+ int nwords = split_n_str(buf, 7, word, ' ', '\0');
+
+ if (nwords < 6) {
+ // not a shared library entry. ignore.
+ continue;
+ }
+
+ if (word[5][0] == '[') {
+ // not a shared library entry. ignore.
+ if (strncmp(word[5],"[stack",6) == 0) {
+ continue;
+ }
+ if (strncmp(word[5],"[heap]",6) == 0) {
+ continue;
+ }
+
+ // SA don't handle VDSO
+ if (strncmp(word[5],"[vdso]",6) == 0) {
+ continue;
+ }
+ if (strncmp(word[5],"[vsyscall]",6) == 0) {
+ continue;
+ }
+ }
+
+ if (nwords > 6) {
+ // prelink altered mapfile when the program is running.
+ // Entries like one below have to be skipped
+ // /lib64/libc-2.15.so (deleted)
More information about the distro-pkg-dev
mailing list