Re: [v8-users] High CPU usage in v8::internal::Runtime_LoadIC_Miss

2020-07-29 Thread 'Seth Brenith' via v8-users
A few brief observations based on stepping through the problem area in the debugger: - The generated code for this JS function calls directly into Builtins_LoadICTrampoline_Megamorphic. - However, the feedback vector slot for that load is in monomorphic state. - The map we're cur

Re: [v8-users] Evaluate ES6-Module with undefined function

2020-07-29 Thread Ben Noordhuis
On Wed, Jul 29, 2020 at 10:24 AM Hans Maier wrote: > > Hi, > > im upgrading from 8.0.426.26 to 8.4.371.22. > > I've a small test case where I evalute (using v8::Module::Evaluate) a > ES6-Module with the following content: > > hello(); > > > In 8.0.x I get an exception: > HelloWorld1.js:

[v8-users] Evaluate ES6-Module with undefined function

2020-07-29 Thread Hans Maier
Hi, im upgrading from 8.0.426.26 to 8.4.371.22. I've a small test case where I evalute (using v8::Module::Evaluate) a ES6-Module with the following content: hello(); In 8.0.x I get an exception: HelloWorld1.js:1: hello(); ^ ReferenceError: hello is not defined at HelloWorld1.js:1