Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 200199

Summary: JVMTI profiler multithread test case failing on vista
Product: z_Archived Reporter: Alan Haggarty <haggarty>
Component: TPTPAssignee: Stanislav Polevic <stanislav.v.polevic>
Status: CLOSED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: analexee, igor.alelekov, jgwest, jkubasta, kendricw, stanislav.v.polevic
Version: unspecifiedKeywords: plan
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard: closed460

Description Alan Haggarty CLA 2007-08-16 11:07:05 EDT
Build ID:  I20070625-1500

Steps To Reproduce:
1. Using tptp 4.4.0.2 08100100 candidate build and WSServer
test class from: /org.eclipse.tptp.ac.testautomation/automation-files/external_classes/

2. Launch as an external java application the WSServer program profiling for JVMTI execution statistics and execution flow.

3. Allow the program to run.


More information:
I am seeing two problems consistently with this class using
Windows Vista and JVMTI.

1. After running a few times the workbench is no longer
catching the termination of the java program. WSServer 
terminates but the profiling monitor still reads "monitoring" and execution flow details are not available.

2. When it does run successfully I only get data for 6
threads collected but am expecting 7.

This is working ok on Windows IA32 and Windows 2k3 on EM64T.
Comment 1 Alan Haggarty CLA 2007-09-13 18:21:56 EDT
Noticed in 441 testing. On the same host this works as expected with
Sun 1.5 JDK (12) and fails with IBM 1.5 SR5 JDK.
Comment 2 Stanislav Polevic CLA 2007-09-18 10:42:50 EDT
Unable to reproduce this scenario with 4.4.1-200709120100.
Could you provide extra details: Vista SP number and architecture of the machine?
Comment 3 Alan Haggarty CLA 2007-09-18 10:53:56 EDT
From My Computer properties (tptpvista)

Windows Vista Business
Intel(R) Core(TM) 2 CPU 6700@2.66Ghz 2.66 Ghz
Memory(RAM): 3070 MB
System Type: 32 Bit Operating System
Comment 4 Stanislav Polevic CLA 2007-09-20 09:59:01 EDT
Unfortunately, I have 64bit Vista...

Igor, do you have a PC box with above configuration?
Comment 5 Igor Alelekov CLA 2007-09-25 06:18:33 EDT
Hi Alan,
Do you have a reference where IBM 1.5 jdk for Windows can be dowloaded?
Thanks.
Comment 6 Stanislav Polevic CLA 2007-10-11 07:28:55 EDT
1. I've tested it on TPTP 4.4.1 build 200710030100 and it works just fine.
I used IBM JDK 5 and Vista ia32.

2. There are 6 threads spawned by SubscriberHandler class instances and 7th main thread. According to the source code - it is by design.

So, it seems to work for me.
Comment 7 Stanislav Polevic CLA 2007-10-25 08:40:18 EDT
Closing this so far.
Do not hesitate to reopen it if this issue will appear again...
Comment 8 Paul Slauenwhite CLA 2007-12-19 07:59:07 EST
Please change the target to the 4.5 iteration when this Bugzilla was resolved.
Comment 9 Stanislav Polevic CLA 2008-01-21 11:03:58 EST
Updated a target.
Comment 10 Paul Slauenwhite CLA 2009-06-30 12:09:45 EDT
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this enhancement/defect has been resolved and unverified for more than 1 year and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.