FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
JavaPerformanceTuning/Size/README at master · performance-folder/JavaPerformanceTuning · GitHub
performance-folder
/
JavaPerformanceTuning
Public
forked from
ScottOaks/JavaPerformanceTuning
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
JavaPerformanceTuning
/
Size
/
README
Copy path
More file actions
More file actions
Latest commit
History
History
History
14 lines (12 loc) · 487 Bytes
Breadcrumbs
JavaPerformanceTuning
/
Size
/
README
Copy path
File metadata and controls
14 lines (12 loc) · 487 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
To build:
This examples uses the SizeOf library from SourceForge:
http://sizeof.sourceforge.net/
Download the library from that site and set
SIZEOF=/path_to/SizeOf.jar
To run:
java <jvmargs> -javaagent:$SIZEOF -jar jars/size.jar
This produces output for various sized objects referenced in the text
(which can vary depending on the 32-/64-bit setting of the JVM
and whether or not CompressedOops are in use).
Example 7-2:
Size of a, b and c classes
Back
|
FazBrowse Home
|
New Git URL