Perceived infinite loop when running dart2js (it ran all night without progress) #13786
Labels
area-vm
Use area-vm for VM related issues, including code coverage, FFI, and the AOT and JIT backends.
closed-cannot-reproduce
Closed as we were unable to reproduce the reported issue
closed-obsolete
Closed as the reported issue is no longer relevant
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
Recipe:
I'm using revision 28196.
export DART_VM_OPTIONS="--old_gen_heap_size=16384 --verbose_gc"
out/ReleaseX64/dart-sdk/bin/dart2js -v stress.dart
It seems like the garbage collector fails to make progress but instead of failing it continues.
I assume "Mark-Sweep(promotion failure)" is a hint.
Regards,
Lars
info: Inferred 1872108 types.
info: Inferred 1872108 types.
[ GC(7113): Scavenge(new space), 4672, 400.610, 4.487, 16384, 2919, 32768, 32768, 16676461, 16676461, 16777028, 16777028, 0.529, 0.607, 4.345, 0.505, 75, 75, 0, 0, ]
[ GC(7113): Scavenge(new space), 4673, 400.626, 2.735, 16384, 561, 32768, 32768, 16676461, 16678675, 16777028, 16777028, 0.528, 0.616, 2.586, 0.504, 75, 75, 0, 0, ]
[ GC(7113): Mark-Sweep(promotion failure), 4674, 400.629, 16694.537, 561, 561, 32768, 32768, 16678675, 16678508, 16777028, 16777028, 13836.960, 0.502, 2857.500, 1.070, 0, 60, 7239, 7239, ]
[ GC(7113): Scavenge(new space), 4675, 417.337, 0.907, 16384, 730, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 0.530, 0.604, 0.767, 0.504, 1, 1, 0, 0, ]
[ GC(7113): Mark-Sweep(promotion failure), 4676, 417.338, 16690.307, 730, 730, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 13827.122, 0.502, 2863.100, 1.067, 0, 83, 7239, 7239, ]
[ GC(7113): Scavenge(new space), 4677, 434.043, 0.805, 16384, 671, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 0.530, 0.608, 0.661, 0.505, 1, 1, 0, 0, ]
[ GC(7113): Mark-Sweep(promotion failure), 4678, 434.044, 16653.955, 671, 671, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 13821.893, 0.503, 2831.949, 1.106, 0, 98, 7239, 7239, ]
[ GC(7113): Scavenge(new space), 4679, 450.712, 0.680, 16384, 522, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 0.525, 0.588, 0.562, 0.504, 1, 1, 0, 0, ]
[ GC(7113): Mark-Sweep(promotion failure), 4680, 450.712, 16731.543, 522, 522, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 13937.743, 0.502, 2793.726, 1.067, 0, 99, 7239, 7239, ]
[ GC | space | count | start | gc time | new gen (KB) | old gen (KB) | timers | data ]
[ (isolate)| (reason)| | (s) | (ms) | used , cap | used , cap | (ms) | ]
[ GC(7113): Scavenge(new space), 4681, 467.459, 0.713, 16384, 532, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 0.530, 0.610, 0.567, 0.505, 1, 1, 0, 0, ]
[ GC(7113): Mark-Sweep(promotion failure), 4682, 467.460, 16845.892, 532, 532, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 13984.500, 0.503, 2861.323, 1.060, 0, 99, 7239, 7239, ]
[ GC(7113): Scavenge(new space), 4683, 484.320, 0.906, 16384, 723, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 0.528, 0.595, 0.778, 0.504, 1, 1, 0, 0, ]
[ GC(7113): Mark-Sweep(promotion failure), 4684, 484.320, 17778.862, 723, 723, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 14725.437, 0.501, 3052.856, 1.566, 0, 99, 7239, 7239, ]
[ GC(7113): Scavenge(new space), 4685, 502.115, 0.760, 16384, 603, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 0.530, 0.603, 0.622, 0.505, 1, 1, 0, 0, ]
[ GC(7113): Mark-Sweep(promotion failure), 4686, 502.115, 17716.053, 603, 603, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 14687.560, 0.502, 3027.985, 1.504, 0, 99, 7239, 7239, ]
[ GC(7113): Scavenge(new space), 4687, 519.848, 0.856, 16384, 702, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 0.529, 0.621, 0.700, 0.506, 1, 1, 0, 0, ]
[ GC(7113): Mark-Sweep(promotion failure), 4688, 519.849, 17987.275, 702, 702, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 14896.855, 0.502, 3089.911, 1.504, 0, 99, 7239, 7239, ]
[ GC(7113): Scavenge(new space), 4689, 537.852, 0.906, 16384, 764, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 0.527, 0.592, 0.782, 0.505, 1, 1, 0, 0, ]
[ GC(7113): Mark-Sweep(promotion failure), 4690, 537.852, 17930.426, 764, 764, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 15065.346, 0.502, 2865.039, 1.036, 0, 99, 7239, 7239, ]
[ GC(7113): Scavenge(new space), 4691, 555.796, 0.688, 16384, 550, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 0.524, 0.581, 0.578, 0.504, 1, 1, 0, 0, ]
[ GC(7113): Mark-Sweep(promotion failure), 4692, 555.796, 16348.627, 550, 550, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 13541.767, 0.503, 2806.790, 1.063, 0, 99, 7239, 7239, ]
[ GC(7113): Scavenge(new space), 4693, 572.160, 0.723, 16384, 566, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 0.527, 0.606, 0.584, 0.505, 1, 1, 0, 0, ]
[ GC(7113): Mark-Sweep(promotion failure), 4694, 572.161, 16420.713, 566, 566, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 13606.021, 0.502, 2814.612, 1.075, 0, 99, 7239, 7239, ]
[ GC(7113): Scavenge(new space), 4695, 588.596, 0.716, 16384, 554, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 0.528, 0.593, 0.589, 0.505, 1, 1, 0, 0, ]
[ GC(7113): Mark-Sweep(promotion failure), 4696, 588.596, 17165.528, 554, 554, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 14017.014, 0.503, 3148.369, 1.139, 0, 99, 7239, 7239, ]
[ GC(7113): Scavenge(new space), 4697, 605.781, 0.722, 16384, 514, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 0.531, 0.615, 0.571, 0.504, 1, 1, 0, 0, ]
[ GC(7113): Mark-Sweep(promotion failure), 4698, 605.781, 17033.857, 514, 514, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 14189.100, 0.502, 2844.666, 1.084, 0, 99, 7239, 7239, ]
[ GC(7113): Scavenge(new space), 4699, 622.830, 0.917, 16384, 725, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 0.528, 0.592, 0.791, 0.505, 1, 1, 0, 0, ]
[ GC(7113): Mark-Sweep(promotion failure), 4700, 622.830, 16546.827, 725, 725, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 13717.041, 0.503, 2829.704, 1.075, 0, 99, 7239, 7239, ]
[ GC(7113): Scavenge(new space), 4701, 639.393, 0.785, 16384, 648, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 0.528, 0.608, 0.643, 0.505, 1, 1, 0, 0, ]
[ GC(7113): Mark-Sweep(promotion failure), 4702, 639.393, 16484.419, 648, 648, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 13634.733, 0.503, 2849.568, 1.111, 0, 99, 7239, 7239, ]
[ GC(7113): Scavenge(new space), 4703, 655.892, 0.750, 16384, 590, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 0.540, 0.590, 0.615, 0.504, 1, 1, 0, 0, ]
[ GC(7113): Mark-Sweep(promotion failure), 4704, 655.892, 16555.151, 590, 590, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 13720.264, 0.502, 2834.814, 1.067, 0, 99, 7239, 7239, ]
[ GC(7113): Scavenge(new space), 4705, 672.463, 0.865, 16384, 738, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 0.527, 0.609, 0.723, 0.505, 1, 1, 0, 0, ]
[ GC(7113): Mark-Sweep(promotion failure), 4706, 672.463, 16450.384, 738, 738, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 13602.892, 0.503, 2847.394, 1.091, 0, 99, 7239, 7239, ]
[ GC(7113): Scavenge(new space), 4707, 688.928, 0.793, 16384, 638, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 0.528, 0.589, 0.669, 0.505, 1, 1, 0, 0, ]
[ GC(7113): Mark-Sweep(promotion failure), 4708, 688.928, 16590.153, 638, 638, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 13743.550, 0.501, 2846.525, 1.072, 0, 99, 7239, 7239, ]
[ GC(7113): Scavenge(new space), 4709, 705.534, 0.715, 16384, 528, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 0.536, 0.608, 0.565, 0.505, 1, 1, 0, 0, ]
[ GC(7113): Mark-Sweep(promotion failure), 4710, 705.534, 16575.286, 528, 528, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 13724.834, 0.503, 2850.343, 1.103, 0, 99, 7239, 7239, ]
[ GC(7113): Scavenge(new space), 4711, 722.124, 0.829, 16384, 650, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 0.529, 0.595, 0.697, 0.505, 1, 1, 0, 0, ]
[ GC(7113): Mark-Sweep(promotion failure), 4712, 722.125, 16591.096, 650, 650, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 13741.838, 0.503, 2849.147, 1.103, 0, 99, 7239, 7239, ]
[ GC(7113): Scavenge(new space), 4713, 738.731, 0.709, 16384, 531, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 0.527, 0.608, 0.568, 0.505, 1, 1, 0, 0, ]
[ GC(7113): Mark-Sweep(promotion failure), 4714, 738.731, 16728.744, 531, 531, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 13852.513, 0.503, 2876.149, 1.076, 0, 99, 7239, 7239, ]
[ GC(7113): Scavenge(new space), 4715, 755.475, 0.806, 16384, 640, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 0.529, 0.592, 0.677, 0.505, 1, 1, 0, 0, ]
[ GC(7113): Mark-Sweep(promotion failure), 4716, 755.475, 16699.672, 640, 640, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 13883.135, 0.502, 2816.455, 1.075, 0, 99, 7239, 7239, ]
[ GC(7113): Scavenge(new space), 4717, 772.190, 0.897, 16384, 740, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 0.528, 0.609, 0.753, 0.506, 1, 1, 0, 0, ]
[ GC(7113): Mark-Sweep(promotion failure), 4718, 772.191, 16839.435, 740, 740, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 13785.947, 0.502, 3053.392, 1.090, 0, 99, 7239, 7239, ]
[ GC(7113): Scavenge(new space), 4719, 789.045, 0.783, 16384, 595, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 0.539, 0.592, 0.646, 0.505, 1, 1, 0, 0, ]
[ GC(7113): Mark-Sweep(promotion failure), 4720, 789.045, 16604.678, 595, 595, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 13739.857, 0.503, 2864.741, 1.075, 0, 99, 7239, 7239, ]
[ GC | space | count | start | gc time | new gen (KB) | old gen (KB) | timers | data ]
[ (isolate)| (reason)| | (s) | (ms) | used , cap | used , cap | (ms) | ]
[ GC(7113): Scavenge(new space), 4721, 805.665, 0.799, 16384, 661, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 0.528, 0.609, 0.656, 0.505, 1, 1, 0, 0, ]
[ GC(7113): Mark-Sweep(promotion failure), 4722, 805.665, 16593.045, 661, 661, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 13732.748, 0.503, 2860.216, 1.074, 0, 99, 7239, 7239, ]
[ GC(7113): Scavenge(new space), 4723, 822.273, 0.968, 16384, 764, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 0.528, 0.594, 0.839, 0.505, 1, 1, 0, 0, ]
[ GC(7113): Mark-Sweep(promotion failure), 4724, 822.274, 16655.327, 764, 764, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 13841.892, 0.503, 2813.348, 1.081, 0, 99, 7239, 7239, ]
[ GC(7113): Scavenge(new space), 4725, 838.944, 0.736, 16384, 593, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 0.526, 0.594, 0.610, 0.505, 1, 1, 0, 0, ]
[ GC(7113): Mark-Sweep(promotion failure), 4726, 838.944, 16488.207, 593, 593, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 13632.529, 0.502, 2855.617, 1.056, 0, 99, 7239, 7239, ]
[ GC(7113): Scavenge(new space), 4727, 855.447, 0.822, 16384, 648, 32768, 32768, 16678508, 16678508, 16777028, 16777028, 0.540, 0.591, 0.685, 0.505, 1, 1, 0, 0, ]
The text was updated successfully, but these errors were encountered: