Bug 1666 - Invesitgate use of shared memory transport (1GHHJXI)
Summary: Invesitgate use of shared memory transport (1GHHJXI)
Status: RESOLVED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P4 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Darin Wright CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 27955 57963 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-10-10 22:17 EDT by Darin Wright CLA
Modified: 2007-10-24 21:37 EDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Wright CLA 2001-10-10 22:17:14 EDT
DW (7/26/01 2:23:19 PM)
	Use of the shared memory transport may give improved debugger performance
	when debugging locally.

	Results on WIN98 - not too promising.

	IBM1.2.2 - VM GPF'd when speficied dt_shmem
	JDK1.2.2 - Failed to init transport - FATAL ERROR in native method.
	JDK1.3.0 -
			D:\workspaces\ws1\Test>\jdk1.3\bin\java -cp . -Xdebug -Xnoagent -Djava.compiler=
			NONE -Xrunjdwp:transport=dt_shmem,address=8000 Test
			Java HotSpot(TM) Client VM warning: Setting of property "java.compiler" is ignor
			ed
			Error accessing shared memory, rc = -1
			Transport dt_shmem failed to initialize, rc = -1.
			FATAL ERROR in native method: No transports initialized
	JDK 1.4
			D:\workspaces\ws1\Test>\jdk1.4\bin\java -cp . -Xdebug -Xnoagent -Xrunjdwp:transp
			ort=dt_shmem,address=8000 Test
			Transport dt_shmem failed to initialize, rc = 509.
			FATAL ERROR in native method: No transports initialized

JGS (8/2/01 6:23:41 PM)
	The dt_shmem transport seems to work fine on 98, NT and 2000 on JDK1.2.2 & JDK1.3.0.
	JDK1.4 fails, but may be because of misplaced JDI DLLs.

JGS (8/6/01 9:53:49 AM)
	The JDI DLLs are misplaced in the JDK1.4 beta.  They ship in \jre\bin but should be moved to \bin.
	When this is done, dt_shmem works fine.

JGS (8/6/01 2:16:40 PM)
	JDI Implementation does not currently support shared memory transport, so we cannot play with this
	in Eclipse or do timings to compare to socket transport.
Comment 1 Darin Wright CLA 2002-02-26 14:50:50 EST
Deferred
Comment 2 Darin Wright CLA 2002-12-11 09:10:53 EST
*** Bug 27955 has been marked as a duplicate of this bug. ***
Comment 3 Joe CLA 2003-01-10 06:50:22 EST
In the past when I have used shared memory transport for debugging locally, I 
have had to use the classic vm instead of hotspot.  Each time that I have 
started up a session where I have specified shared memory debugging if I did 
not specify the classic vm it would state something like the following:

Java HotSpot(TM) Client VM warning: 
Setting of property "java.compiler" is ignored
Comment 4 Darin Wright CLA 2003-01-10 09:13:03 EST
This sounds to me like a warning - not an error. It just means that the command 
line option -Djava.compiler=NONE has been ignored.
Comment 5 Darin Wright CLA 2003-05-06 22:40:32 EDT
Currently have no plans to implement shared memory transport.
Comment 6 Darin Wright CLA 2003-05-06 22:40:45 EDT
Marking as "wont fix".
Comment 7 Darin Swanson CLA 2004-04-08 17:50:52 EDT
*** Bug 57963 has been marked as a duplicate of this bug. ***
Comment 8 edwardfan CLA 2007-10-24 20:39:25 EDT
Nowadays both NetBeans and JDeveloper support shmem debugging. Maybe this bug should be reconsidered to fix?

I would like to stick in Eclipse but I need to persuade other team members to give up NetBeans or JDeveloper.

Many thanks!
Comment 9 Darin Wright CLA 2007-10-24 21:37:41 EDT
Currently, we do not have the resources to implement shared memory transport. Contributions welcome.

However, how does using the shared memory transport change or improve the debugging experience?