Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 719125
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T05:36:23+00:00 2026-05-14T05:36:23+00:00

I am wondering about the relationship between .NET ClassLoader and Assembly I use the

  • 0

I am wondering about the relationship between .NET ClassLoader and Assembly

I use the “!dumpdomain xxxx” command and got the following output:

Domain 1: 00522108 
LowFrequencyHeap: 0052212c
HighFrequencyHeap: 00522178
StubHeap: 005221c4
Stage: OPEN
SecurityDescriptor: 00523430
Name: BoxUnbox.exe
**Assembly**: 0056eb88 [C:\Windows\assembly\GAC_32\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll]
**ClassLoader**: 0056ec08
SecurityDescriptor: 0056c078
Module Name 
56d71000 C:\Windows\assembly\GAC_32\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll

**Assembly**: 005794f0 []
**ClassLoader**: 00579570
SecurityDescriptor: 0057a018
Module Name 
00152c5c

I noticed that the “ClassLoader” and “Assembly” appear in pair. It seems each Assembly is accompanied with its own “ClassLoader”.

Why design like this? Is this a litte noisy? Why not just assign one “ClassLoader” to an AppDomain and use it to load all the Assembly needed by the AppDomain? Isnt’t this design more elegant?

Many thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T05:36:23+00:00Added an answer on May 14, 2026 at 5:36 am

    There’s an instance of the ClassLoader class associated with each assembly. It loads types from the assembly. It has a bunch of debug fields that are only present when the CLR is built in Debug mode. The pointer to the ClassLoader instance is no doubt listed to help a Microsoft tester find that debug data back. It isn’t going to be very interesting the retail build.

    You can find the source code for this in the SSCLI20 distribution. The class loader is declared in clr\src\vm\clsload.hpp. In case it matters: it has nothing to do with the Java notion of a class loader.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

It may looks a naive question but I am wondering about the relationship between
I have been wondering about the following lines of code [self performSelector:@selector(myMethod) withObject:self afterDelay:1.0];
I am wondering the best way about setting up asp.net membership in sql server
im wondering about how to use WCF service instead of sockets .. to send
I am wondering on the relationship between a block of samples and its time
I'm just wondering how people working in teams manage the relationship between the logic
I am wondering about a 'many to two' relationship. The child can be linked
I was wondering what the relationship is between an Android service and the activity
I was wondering if I can model the relationship between the two class hierarchies
Just wondering about this, is it possible to use Django with the Google Apps

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.