Skip to content

Code PS: Shared process appears many times #46818

@joaomoreno

Description

@joaomoreno

When running code -s I get:

CPU %	Mem MB	   PID	Process
    0	    98	 13976	code-insiders main
    0	    82	 13977	   gpu-process
    0	    82	 13980	   shared-process
    0	   229	 91185	   window (ps.ts — vscode)
    0	    98	 91188	     extensionHost
    0	    98	 91196	       electron_node tslintServer.js
    0	   557	 91197	       electron_node electronForkStart.js tsserver.js
    0	    49	 91218	         electron_node typingsInstaller.js tsserver.js typesMap.js
    0	    49	 91239	       electron_node jsonServerMain.js
    0	    49	 91189	     watcherService
    0	    49	 91191	     searchService
    0	    82	 91247	   shared-process

Notice that there are two shared processes listed. This was also causing some confusion in #46598.

There are renderers which are neither the workbench nor the shared process. We should be able to unequivocally distinguish them, not based on the --disable-blink-features=Auxclick heuristic. Maybe we pass in extra flags which are ignored by Chrome, but we could later detect them?

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions