Fork me on GitHub
#pathom
<
2019-01-08
>
tony.kay18:01:03

Hm…bummer, @wilkerlucio when running in Debug mode the compiler generates a too large method for async-reader2, making it impossible to start a REPL.

tony.kay18:01:30

core async dumps a lot of code, and it is hitting the JVM limit on method size

wilkerlucio18:01:56

yeah, and its not helping that I have a lot of macros that makes those even bigger

tony.kay18:01:22

needs to be split up, which would make it clearer probably as well 🙂

wilkerlucio18:01:25

but the solution is not so simple, because of how go blocks work, if I break the function I have to add more message passing, which is more overhead

tony.kay18:01:44

them’s the cost of core async 🙂

wilkerlucio18:01:25

yeah, I'm already unsatisfied with the amount of overhead from it as current, I'm trying to reduce it so I would like to avoid adding more now, do you know if its possible to increase the max method code size?

tony.kay18:01:20

nope, that is a hard limit in JVM

tony.kay18:01:26

65536 bytes, if I remember right

tony.kay18:01:44

16-bit size field in the JVM internals I think

tony.kay18:01:06

definitely causing me dev issues…being able to set jvm breakpoints is important for certain bugs, and I can’t do it anymore because of pathom

wilkerlucio19:01:45

ok, I can take a look on it, can you please open an issue?

wilkerlucio19:01:02

@tony.kay 2.2.7 should work 😉

👍 5
wilkerlucio19:01:18

@souenzzo your updates to the diplomat are also in this release, thanks!