Lines Matching refs:heap

34 # or by the heap profiler (common/debugallocation.cc)
101 my $HEAP_PAGE = "/pprof/heap";
169 list of library mappings, in the same format as is found in the heap-
377 # heap
454 # Check heap-profiling flags
1170 if ($main::profile_type eq 'heap') {
2700 if ($main::profile_type eq 'heap' || $main::profile_type eq 'growth') {
2739 if ($main::profile_type eq 'heap' || $main::profile_type eq 'growth') {
2893 if ($main::profile_type eq 'heap' || $main::profile_type eq 'growth') {
3528 $main::profile_type = 'heap';
3757 # for a heap profile:
3758 # heap profile: 53: 38236 [ 5525: 1284029] @ heapprofile
3834 # Look at first line to see if it is a heap or a CPU profile.
3866 if ($header =~ m/^heap profile:.*$growth_marker/o) {
3869 } elsif ($header =~ m/^heap profile:/) {
3870 $main::profile_type = 'heap';
3872 } elsif ($header =~ m/^heap/) {
3873 $main::profile_type = 'heap';
4061 # Remote-heap version 2
4078 # Remote-heap version 1
4103 # heap profile: 1246: 8800744 [ 1246: 8800744] @ <heap-url>/266053
4107 # For remote heap profiles (v1):
4113 # interval is 128KB. Only remote-heap-page profiles are adjusted for
4115 # For remote heap profiles (v2):
4120 # heap profile: 1922: 127792360 [ 1922: 127792360] @ <heap-url>_v2/524288
4127 if ($header =~ m"^heap profile:\s*(\d+):\s+(\d+)\s+\[\s*(\d+):\s+(\d+)\](\s*@\s*([^/]*)(/(\d+))?)?") {
4132 # heap-profiler, and either "heap" or "heap_v2" for profiles
4134 # be "growth" for heap-growth profiles. The first is typically
4137 if (($type eq "heapprofile") || ($type !~ /heap/) ) {
4138 # No need to adjust for the sampling rate with heap-profiler-derived data
4152 # We detect whether or not this is a remote-heap profile by checking
4155 # that a non-remote-heap profile may pass this check, but it is hard
4157 # In this case it's so old it's guaranteed to be remote-heap version 1.
4160 # This is likely to be a remote-heap based sample profile
4167 # For remote-heap generated profiles, adjust the counts and sizes to
4172 print STDERR "Adjusting heap profiles for 1-in-128KB sampling rate\n";
4174 printf STDERR ("Adjusting heap profiles for 1-in-%d sampling rate\n",
4213 $r->{version} = "heap";
4236 die "Threaded heap profiles require v2 sampling with a sample rate\n";
4289 $r->{version} = "heap";
5118 # We can't detect this from many (most?) heap or lock contention