JRastro: ferramenta para o rastreamento de programas Java paralelos e distribuídos usando JVMTI
Abstract
As ferramentas de visualização de programas auxiliam na análise do comportamento de programas para a identificação de problemas de desempenho ou de lógica
nesses programas. Entretanto, essas ferramentas necessitam que os programas a serem visualizados registrem informações sobre os principais eventos ocorridos durante suas execuções, em arquivos chamados rastros de execução.
Este trabalho descreve o desenvolvimento de um agente de rastreamento que
registra rastros de execução de programas escritos na linguagem Java. Esse agente
tem como características ser transparente ao desenvolvedor, não precisar da modificação da máquina virtual Java (JVM) e também, ser configurável.
Na implementação do agente, foi utilizado o módulo JVMTI (Java Virtual Machine Tool Interface) disponibilizado para o monitoramento dos eventos gerados pela
JVM e uma biblioteca de registro e recuperação de informações, chamada libRastro,
desenvolvida no Laboratório de Sistemas da Computação (LSC) na Universidade
Federal de Santa Maria. Foram também implementados conversores para três tipos
de visualização na ferramenta Pajé, desenvolvida no LSC. Com isso, pode-se utilizar
essa ferramenta de forma satisfatória para a depuração de programas paralelos e
distribuídos, através do rastreamento de diversos eventos gerados no programa.
Collections
The following license files are associated with this item: