Community
Participate
Working Groups
IAC produces varying results when a simple Java application is profiled (the java app being profiled is attached to this bug). I tried this both on the TPTP-4.1.0-200510110538 as well as the TPTP-4.1.0-200510100100 drivers. I tried profiling my application using both the "local" java app launch configuration as well as the "External" launch configuration. In all cases the profiling data was incorrect. If I remove the bin directory of the RAC from my PATH, I get a series of DEBUG statements outputted to the console and it causes the JVM to crash. Some of the DEBUG statements appear below: DEBUG: (Native->UTF8) "Java Profiling Agent" -> "Java Profiling Agent" DEBUG: (Native->UTF8) "adfb49e9-8c69-4f41-b6a0-946edbddefef" -> "adfb49e9-8c69-4f41-b6a0-946edbddefef" DEBUG: (Native->UTF8) "Profiler" -> "Profiler" DEBUG: (Native->UTF8) "829df999-6d60-4328-a83f-afe0fb5c688c" -> "829df999-6d60-4328-a83f-afe0fb5c688c" DEBUG: (UTF8->Native) "Java Profiling Agent" -> "Java Profiling Agent" DEBUG: (UTF8->Native) "Profiler" -> "Profiler" DEBUG: (UTF8->Native) "Profiler" -> "Profiler" DEBUG: (UTF8->Native) "829df999-6d60-4328-a83f-afe0fb5c688c" -> "829df999-6d60-4328-a83f-afe0fb5c688c" DEBUG: (UTF8->Native) "Java Profiling Agent" -> "Java Profiling Agent" DEBUG: (UTF8->Native) "SETMETHODFILTER" -> "SETMETHODFILTER" DEBUG: (UTF8->Native) "com.ibm* *" -> "com.ibm* *" DEBUG: (UTF8->Native) "EXCLUDE" -> "EXCLUDE" DEBUG: (UTF8->Native) "Java Profiling Agent" -> "Java Profiling Agent" DEBUG: (UTF8->Native) "SETMETHODFILTER" -> "SETMETHODFILTER" DEBUG: (UTF8->Native) "com.sun* *" -> "com.sun* *" DEBUG: (UTF8->Native) "EXCLUDE" -> "EXCLUDE" DEBUG: (UTF8->Native) "Java Profiling Agent" -> "Java Profiling Agent" DEBUG: (UTF8->Native) "SETMETHODFILTER" -> "SETMETHODFILTER" DEBUG: (UTF8->Native) "COM.ibm* *" -> "COM.ibm* *" DEBUG: (UTF8->Native) "EXCLUDE" -> "EXCLUDE" DEBUG: (UTF8->Native) "Java Profiling Agent" -> "Java Profiling Agent" DEBUG: (UTF8->Native) "SETMETHODFILTER" -> "SETMETHODFILTER" DEBUG: (UTF8->Native) "java* *" -> "java* *" DEBUG: (UTF8->Native) "EXCLUDE" -> "EXCLUDE" DEBUG: (UTF8->Native) "Java Profiling Agent" -> "Java Profiling Agent" DEBUG: (UTF8->Native) "SETMETHODFILTER" -> "SETMETHODFILTER" DEBUG: (UTF8->Native) "org* *" -> "org* *" DEBUG: (UTF8->Native) "EXCLUDE" -> "EXCLUDE" DEBUG: (UTF8->Native) "Java Profiling Agent" -> "Java Profiling Agent" DEBUG: (UTF8->Native) "SETMETHODFILTER" -> "SETMETHODFILTER" DEBUG: (UTF8->Native) "sun* *" -> "sun* *" DEBUG: (UTF8->Native) "EXCLUDE" -> "EXCLUDE"
Created attachment 28136 [details] Java app being profiled
Note that this is a regression. It works fine in the TPTP-4.1.0-200510041259 driver.
Navid. Those debug outputs are only showing up in a DEBUG build driver. Please make sure there is no other RAC DLL's in your path since the one packaged with IAC are built with the RELEASE flag.
I get these debug outputs on both TPTP-4.1.0-200510110538 and TPTP-4.1.0- 200510100100 drivers when I remove the bin directory of RAC from my PATH. Maybe the DLLs shipped with those drivers were built with the DEBUG flag by mistake.
These Debug statments and the JVM crash were being caused because of the fact that I had the bin directory of *Intel's* Agent Controller in my PATH.
Closing