Decompiled file is extremely large when it includes coroutine builder functions such as launch, async


#1

It is always very convenient to use show kotlin bytecode tool to get bytecode of kotlin and then use decompile to get the corresponding java code while using Android Studio or Intellij.
while learning coroutine, I wanna know the real compiled code of coroutine.
I define suspend function, and decompile the bytecode, and the corresponding java code is clear to understand. Everything works file.

However, if my kotlin file contain any coroutine builder functions such as launch or async, the decompiling takes a very long time and the decompiled file is extremely large.

Here is my code:

fun main(args: Array<String>) {
GlobalScope.launch {  }

}

and here is part of the decompiled code:


#2

Please follow https://youtrack.jetbrains.com/issue/KT-28007 for updates.