JDK-4467269 : Poor performance on Solaris while using a profiler.
  • Type: Bug
  • Component: vm-legacy
  • Sub-Component: jvmpi
  • Affected Version: 1.4.0
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: solaris
  • CPU: sparc
  • Submitted: 2001-06-07
  • Updated: 2002-11-26
  • Resolved: 2002-08-27
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
1.4.2 mantisFixed
Related Reports
Relates :  
Relates :  
Description
When I use a profiler together with the latest beta 67, the profiled java application takes only 20% of CPU.

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: mantis-beta FIXED IN: mantis INTEGRATED IN: mantis
14-06-2004

EVALUATION ###@###.### 2002-05-24 The addition of JVM/PI SuspendThreadList() and ResumeThreadList() APIs will help the HotSpot VM to be more efficient when suspending, sampling, and resuming large numbers of threads.
11-06-2004

SUGGESTED FIX ###@###.### 2002-05-24 See 4467269-webrev.tar for the proposed changes. ###@###.### 2002-06-18 See 4467269-webrev-cr1.tar for the relative changes made after code review round 1. See 4467269-webrev-cr1-all.tar for the changes relative to Merlin-Update2. There is one minor change that showed up during the hopper_baseline port. A missing error result setting: ------- jvmpi.cpp ------- *** /tmp/sccs.bsaiZw Tue Jun 18 17:11:42 2002 --- jvmpi.cpp Tue Jun 18 16:50:30 2002 *************** *** 2993,2998 **** --- 2993,2999 ---- } // the thread has not yet run or is in process of exiting if (java_thread->threadObj() == NULL) { + results[i] = 10; // same as JVMDI_ERROR_INVALID_THREAD continue; } if (java_lang_Thread::thread(java_thread->threadObj()) == NULL) {
11-06-2004

PUBLIC COMMENTS .
10-06-2004