Index: src/heap/heap.cc |
diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
index c2c3bb47cf548f98f054df19f4fdce5fec0edae1..5a35802e2c60e2d92e5148c5f849749bc7afddd6 100644 |
--- a/src/heap/heap.cc |
+++ b/src/heap/heap.cc |
@@ -3029,6 +3029,7 @@ AllocationResult Heap::AllocateBytecodeArray(int length, |
instance->set_length(length); |
instance->set_frame_size(frame_size); |
instance->set_parameter_count(parameter_count); |
+ instance->set_profiling_count(interpreter::Interpreter::InterruptBudget()); |
instance->set_constant_pool(constant_pool); |
instance->set_handler_table(empty_fixed_array()); |
instance->set_source_position_table(empty_fixed_array()); |