You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Program causes recursive inline errors in Graal on truffle-head but not master. -J-G:TruffleMaximumRecursiveInlining=1 or -J-G:-TruffleFunctionInlining works around.
#copy of observer.rb from ruby core library#removed code which is not necessary for the examplemoduleObservabledefadd_observer(observer)@observer_peers=[]unlessdefined?@observer_peers@observer_peers.pushobserverenddefchanged(state=true)@observer_state=stateenddefnotify_observers(*arg)if@observer_stateforiin@observer_peers.dupi.update(*arg)end@observer_state=falseendendendclassSourceincludeObservabledefemit(v)changed(true)notify_observers(v)endendclassNodeincludeObservabledefinitialize(ob)ob.add_observer(self)enddefupdate(v)changed(true)notify_observers(v)endendclassSinkdefinitialize(ob)ob.add_observer(self)enddefupdate(v)@res=venddefresreturn@resendend#we create a chain of source -> node -> ... -> sinks=Source.newcur=sfornumin1 .. 8cur=Node.new(cur)endsink=Sink.new(cur)foriin1 .. 15000s.emit(i)endputssink.res
The text was updated successfully, but these errors were encountered:
Program causes recursive inline errors in Graal on
truffle-head
but notmaster
.-J-G:TruffleMaximumRecursiveInlining=1
or-J-G:-TruffleFunctionInlining
works around.The text was updated successfully, but these errors were encountered: