Quitting jshell extremely slow on my Mac
Weijun Wang
weijun.wang at oracle.com
Wed Jan 8 02:22:43 UTC 2020
Oops, I just fixed this.
First I was thinking about whether there is something in my $HOME that made jshell slow, so I "export HOME=/tmp/x" and run jshell, it terminates immediately. Then I set it back, the same. Then I opened another terminal windows, still fast. I even restart the system, still fast. I almost feel the command launches a little faster.
Nothing was left in /tmp/xxx, and I don't know what happened in my real $HOME.
--Max
> On Jan 8, 2020, at 7:38 AM, Michel Trudeau <michel.trudeau at oracle.com> wrote:
>
> I can’t reproduce this. Anyone else can ?
>
> On Dec 22, 2019, at 5:26 PM, Weijun Wang <weijun.wang at oracle.com> wrote:
>
> Quitting jshell with /exit or Ctrl-D is extremely slow here. It just wait for about half a minute and then quit.
>
> If I create a brand new user and run jshell there, it quits immediately. I don't think I've created any startup scripts for jshell for my own user. "find . | grep jshell" in $HOME shows nothing interesting.
>
> Here is a gist of jstack outputs. There are 2 processes. I took once before Ctrl-D (line 426), and multiple times after it.
>
> https://gist.github.com/wangweij/ead6d024e713f3863df061930e6f2e29
>
> I'm using fastdebug build 14-ea+24-1107 and I'm on macOS 10.14.6.
>
> What could be the problem?
>
> Thanks in advance,
> Max
>
>
More information about the kulla-dev
mailing list