MCPcopy Index your code
hub / github.com/nodejs/node / processFeedbackVector

Method processFeedbackVector

deps/v8/tools/system-analyzer/processor.mjs:408–421  ·  view source on GitHub ↗
(
      timestamp, fbv_address, fbv_length, instructionStart, optimization_marker,
      optimization_tier, invocation_count, profiler_ticks, fbv_string)

Source from the content-addressed store, hash-verified

406 }
407
408 processFeedbackVector(
409 timestamp, fbv_address, fbv_length, instructionStart, optimization_marker,
410 optimization_tier, invocation_count, profiler_ticks, fbv_string) {
411 const profCodeEntry = this._profile.findEntry(instructionStart);
412 if (!profCodeEntry) {
413 console.warn('Didn\'t find code for FBV', {fbv_string, instructionStart});
414 return;
415 }
416 const fbv = new FeedbackVectorEntry(
417 timestamp, profCodeEntry.logEntry, fbv_address, fbv_length,
418 optimization_marker, optimization_tier, invocation_count,
419 profiler_ticks, fbv_string);
420 profCodeEntry.logEntry.setFeedbackVector(fbv);
421 }
422
423 processScriptSource(scriptId, url, source) {
424 this._profile.addScriptSource(scriptId, url, source);

Callers

nothing calls this directly

Calls 3

warnMethod · 0.80
setFeedbackVectorMethod · 0.80
findEntryMethod · 0.45

Tested by

no test coverage detected