Vsevolod Tolstopyatov

Results 342 comments of Vsevolod Tolstopyatov

Hey, thanks for filing this! We were planning to jump on it ourselves (as there is a lot of work to revise all the API entry points), and it's easy...

FTR, the benchmark: ``` @Warmup(iterations = 5, time = 1) @Measurement(iterations = 5, time = 1) @Fork(value = 1) @BenchmarkMode(Mode.AverageTime) @OutputTimeUnit(TimeUnit.NANOSECONDS) @State(Scope.Benchmark) open class ChannelBenchmark { /** Old channels: Benchmark...

The error complains about our reflect library and we (coroutines) are unlikely to ship BH rules for anything but coroutines themselves. Would it work for you to add a rule...

It's hard to tell what exactly is wrong without seeing the whole coroutine's hierarchy. What I suspect can be a root cause is a 3rd-party implementation of coroutine builder that...

Great job with a reproducer! Verified it reproduces, we'll fix it in 1.6.1

Could you please recheck on 1.6.1? I cannot reproduce it as is, I will give a few tries a bit later to see if it still reproduces. Anyway, 1.6.1 fixes...

Aha, I see, it only reproduces with non `kotlinx.coroutines`-related entry point, namely `suspend fun main`! I'll fix it separately. Meanwhile, it would be nice to see if you are still...

Thanks for both Ktor and regular reproducer! The source of the issue is indeed non-`kotlinx.coroutines` related entry point that Ktor leverages in order to optimize its internal machinery (`SuspendFunGun`). #3155...

@michail-nikolaev could you please share a reproducer?

I'll investigate it, thanks