Quitting jshell extremely slow on my Mac

Robert Field robert.field at oracle.com
Thu Jan 9 02:09:39 UTC 2020


Max,
Seems likely your properties file is very large or computerised.
Robert


On January 7, 2020 6:23:15 PM Weijun Wang <weijun.wang at oracle.com> wrote:

> 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