Skip to content

Instantly share code, notes, and snippets.

@gvsmirnov
Created April 21, 2012 14:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gvsmirnov/2437516 to your computer and use it in GitHub Desktop.
Save gvsmirnov/2437516 to your computer and use it in GitHub Desktop.
Just the Universe being way too friendly
class Universe: AllStatic {
// Ugh. Universe is much too friendly.
friend class MarkSweep;
friend class oopDesc;
friend class ClassLoader;
friend class Arguments;
friend class SystemDictionary;
friend class VMStructs;
friend class CompactingPermGenGen;
friend class VM_PopulateDumpSharedSpace;
friend jint universe_init();
friend void universe2_init();
friend bool universe_post_init();
//...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment