[aarch64-port-dev ] Java callstacks are truncated in perf on aarch64

Alexeev, Alexander alexander.alexeev at auriga.com
Wed May 6 11:10:45 UTC 2015


Hello

I've tried to collect call stacks for JDK release 1504 available from Linaro, it must be almost tip (build 1.9.0-internal-ed_2015_05_01_13_39-b00). Traces collected with this version are truncated.
Significant part of them is lost now. Seems the only one java method is resolved in the trace. What might be wrong?
I didn't find option such option as PreserveFramePointer available yet, and anyway not sure if it helps on aarch64


Stack traces:
1503

node-4 24928 473214.940022:          1 cycles:
    ffffffc0000c92c8 finish_task_switch ([kernel.kallsyms])
    ffffffc00071cbc0 __sched_text_start ([kernel.kallsyms])
    ffffffc00071d044 schedule ([kernel.kallsyms])
    ffffffc00010013c futex_wait_queue_me ([kernel.kallsyms])
    ffffffc000100bb0 futex_wait ([kernel.kallsyms])
    ffffffc000102848 do_futex ([kernel.kallsyms])
    ffffffc000103144 sys_futex ([kernel.kallsyms])
    ffffffc000084068 cpu_switch_to ([kernel.kallsyms])
          7fa2e4d3dc pthread_cond_wait@@GLIBC_2.17 (/lib/aarch64-linux-gnu/libpthread-2.19.so)
          7fa2974a14 _ZN2os13PlatformEvent4parkEv (/home/alexander/jdk/1503/jdk9-server-release-1503/lib/aarch64/server/libjvm.so)
          7fa295d9e0 _ZN13ObjectMonitor6EnterIEP6Thread (/home/alexander/jdk/1503/jdk9-server-release-1503/lib/aarch64/server/libjvm.so)
          7fa295de2c _ZN13ObjectMonitor5enterEP6Thread (/home/alexander/jdk/1503/jdk9-server-release-1503/lib/aarch64/server/libjvm.so)
          7fa24d4178 _ZN8Runtime112monitorenterEP10JavaThreadP7oopDescP15BasicObjectLock (/home/alexander/jdk/1503/jdk9-server-release-1503/lib/aarch64/server/libjvm.so)
          7f940dd100 monitorenter_nofpu Runtime1 stub (/tmp/perf-24762.map)
          7f9471a14c Lavrora/monitors/PacketMonitor$Mon;.fireBeforeTransmitEnd (/tmp/perf-24762.map)
          7f94082040 Interpreter (/tmp/perf-24762.map)
          7f94082040 Interpreter (/tmp/perf-24762.map)
          7f9407a674 call_stub (/tmp/perf-24762.map)
          7fa274e81c _ZN9JavaCalls11call_helperEP9JavaValueP12methodHandleP17JavaCallArgumentsP6Thread (/home/alexander/jdk/1503/jdk9-server-release-1503/lib/aarch64/server/libjvm.so)
          7fa29738e4 _ZN2os20os_exception_wrapperEPFvP9JavaValueP12methodHandleP17JavaCallArgumentsP6ThreadES1_S3_S5_S7_ (/home/alexander/jdk/1503/jdk9-server-release-1503/lib/aarch64/server/libjvm.so)
          7fa274c238 _ZN9JavaCalls12call_virtualEP9JavaValue11KlassHandleP6SymbolS4_P17JavaCallArgumentsP6Thread (/home/alexander/jdk/1503/jdk9-server-release-1503/lib/aarch64/server/libjvm.so)
          7fa274c778 _ZN9JavaCalls12call_virtualEP9JavaValue6Handle11KlassHandleP6SymbolS5_P6Thread (/home/alexander/jdk/1503/jdk9-server-release-1503/lib/aarch64/server/libjvm.so)
          7fa278c360 _ZL12thread_entryP10JavaThreadP6Thread (/home/alexander/jdk/1503/jdk9-server-release-1503/lib/aarch64/server/libjvm.so)
          7fa2aa871c _ZN10JavaThread17thread_main_innerEv (/home/alexander/jdk/1503/jdk9-server-release-1503/lib/aarch64/server/libjvm.so)
          7fa296da00 _ZL10java_startP6Thread (/home/alexander/jdk/1503/jdk9-server-release-1503/lib/aarch64/server/libjvm.so)
          7fa2e48e2c start_thread (/lib/aarch64-linux-gnu/libpthread-2.19.so)
          7fa2d88c40 [unknown] (/lib/aarch64-linux-gnu/libc-2.19.so)


1504

node-1 25166 473376.608603:          1 cycles:
    ffffffc0000c92c8 finish_task_switch ([kernel.kallsyms])
    ffffffc00071cbc0 __sched_text_start ([kernel.kallsyms])
    ffffffc00071d044 schedule ([kernel.kallsyms])
    ffffffc00010013c futex_wait_queue_me ([kernel.kallsyms])
    ffffffc000100bb0 futex_wait ([kernel.kallsyms])
    ffffffc000102848 do_futex ([kernel.kallsyms])
    ffffffc000103144 sys_futex ([kernel.kallsyms])
    ffffffc000084068 cpu_switch_to ([kernel.kallsyms])
          7f86e653dc pthread_cond_wait@@GLIBC_2.17 (/lib/aarch64-linux-gnu/libpthread-2.19.so)
          7f8698b524 _ZN2os13PlatformEvent4parkEv (/home/alexander/jdk/1504/jdk9-server-release-1504/lib/aarch64/server/libjvm.so)
          7f869744f8 _ZN13ObjectMonitor6EnterIEP6Thread (/home/alexander/jdk/1504/jdk9-server-release-1504/lib/aarch64/server/libjvm.so)
          7f86974944 _ZN13ObjectMonitor5enterEP6Thread (/home/alexander/jdk/1504/jdk9-server-release-1504/lib/aarch64/server/libjvm.so)
          7f864e9e30 _ZN8Runtime112monitorenterEP10JavaThreadP7oopDescP15BasicObjectLock (/home/alexander/jdk/1504/jdk9-server-release-1504/lib/aarch64/server/libjvm.so)
          7f780dd100 monitorenter_nofpu Runtime1 stub (/tmp/perf-25031.map)
          7f78788a4c [unknown] (/tmp/perf-25031.map)

or

node-5 25169 473376.617732:    2649587 cycles:
    ffffffc000445a84 test_and_set_bit ([kernel.kallsyms])
    ffffffc00027398c jbd2_journal_dirty_metadata ([kernel.kallsyms])
    ffffffc0002522ac __ext4_handle_dirty_metadata ([kernel.kallsyms])
    ffffffc000234438 ext4_mark_iloc_dirty ([kernel.kallsyms])
    ffffffc0002347a0 ext4_mark_inode_dirty ([kernel.kallsyms])
    ffffffc000237018 ext4_dirty_inode ([kernel.kallsyms])
    ffffffc0001a8f68 __mark_inode_dirty ([kernel.kallsyms])
    ffffffc0001b07f4 generic_write_end ([kernel.kallsyms])
    ffffffc0002362d8 ext4_da_write_end ([kernel.kallsyms])
    ffffffc000126554 generic_perform_write ([kernel.kallsyms])
    ffffffc0001275ac __generic_file_write_iter ([kernel.kallsyms])
    ffffffc00022c1c4 ext4_file_write_iter ([kernel.kallsyms])
    ffffffc000182f08 new_sync_write ([kernel.kallsyms])
    ffffffc000183640 vfs_write ([kernel.kallsyms])
    ffffffc000183ba0 sys_write ([kernel.kallsyms])
    ffffffc000084068 cpu_switch_to ([kernel.kallsyms])
          7f86e68728 __libc_write (/lib/aarch64-linux-gnu/libpthread-2.19.so)
          7f85f1cd18 writeSingle (/home/alexander/jdk/1504/jdk9-server-release-1504/lib/aarch64/libjava.so)
          7f78587134 Ljava/io/FileOutputStream;.write (/tmp/perf-25031.map)
          7f78828e54 [unknown] (/tmp/perf-25031.map)




More information about the aarch64-port-dev mailing list