Bootstrap class loader - system property - sun.boot.class
Karen Kinnear
Karen.Kinnear at Sun.COM
Mon Apr 20 09:54:22 PDT 2009
Vigneswaran,
In the hotspot source code, the bootstrap class loader is in
src/share/vm/classfile/classLoader.hpp,cpp.
It works very closely with the VM's common class loading logic
which is in
src/share/vm/classfile/systemDictionary.hpp,cpp
To better understand sun.boot.class.path processing in the vm,
look in src/share/vm/runtime/arguments. cpp
at the comments for SysClassPath:
// Constructs the system class path (aka boot class path) from the
following
// components, in order:
//
// prefix // from -Xbootclasspath/p:...
// endorsed // the expansion of -Djava.endorsed.dirs=...
// base // from os::get_system_properties() or -
Xbootclasspath=
// suffix // from -Xbootclasspath/a:...
//
// java.endorsed.dirs is a list of directories; any jar or zip files
in the
// directories are added to the sysclasspath just before the base.
hope this helps,
Karen
On Apr 20, 2009, at 2:37 AM, Vigneswaran Sitaraman wrote:
>
> I want to know where is the bootstrap class loader source code in jvm
> source code. I also want to know where the system property -
> sun.boot.class.path is defined. It is said that sun.boot.class.path is
> initialised when java Vm starts.
>
>
>
>
>
>
> Regards
> Vigneswaran Sitaraman
> Tata Consultancy Services
> Technopark Campus ,Kariyavattom P.O.
> Trivandrum - 695 581,Kerala
> India
> Ph:- +91 44 26570843
> Cell:- + 91 9840694852
> Mailto: vigneswaran.sitaraman at tcs.com
> Website: http://www.tcs.com
> ____________________________________________
> Experience certainty. IT Services
> Business Solutions
> Outsourcing
> ____________________________________________
>
> =====-----=====-----=====
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain
> confidential or privileged information. If you are
> not the intended recipient, any dissemination, use,
> review, distribution, printing or copying of the
> information contained in this e-mail message
> and/or attachments to it are strictly prohibited. If
> you have received this communication in error,
> please notify us by reply e-mail or telephone and
> immediately and permanently delete the message
> and any attachments. Thank you
>
>
>
More information about the hotspot-dev
mailing list