memory - jconsole equivalent for .Net? -


i'm looking dll link to, give .net app profiling abilities equivalent jconsole. specifically, imagine this:

  1. you add dll project
  2. you call init method
  3. this exposes set of endpoints (web, tcp, named pipes, whatever).
  4. this doesn't hamper performance of application, can run in production.
  5. when in trouble, connect endpoints, , profile. can see gc roots, what's taking memory (retained sets), trigger gc, ...

is there this?

op: there isn't.

simon: jconsole side argument difference between java , .net. java readily presents user information .net obfuscates. perhaps because of differing ideologies , goals, java designed common virtual environment operates on host os .net principally designed windows in mind.

.net processes aren't designed run in ambiguous vacuum; run component services or parts of iis, , run on windows, virtual environment makes no provisions provide remote monitoring because you'll degree of free wmi.

java doesn't work way, because java can't make assumptions underlying os or information provide, , whatever java must done equally systems. java offers enormous amount of data memory , thread activity user, , provides infrastructure handling , discovering managed objects in user code (mbeans). jconsole , jvisualvm allow user remote connect java process (either locally or on network jmx, although jmx requires flag active on target java process), , can see data , browse available mbeans. on top of that, of core functionality , programs free.

.net flat out doesn't have of this. it's on developer onset build remote management application code, , there isn't convenient viewer helps users discover management objects exist.

further, java code can trivially reversed source, reconstituted project, , debugged remote breakpoints against production system. possible .net don't make easy do.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -