Re: Re: RE: [ADMIN] High memory usage [PATCH]

Поиск
Список
Период
Сортировка
От Michael Stephenson
Тема Re: Re: RE: [ADMIN] High memory usage [PATCH]
Дата
Msg-id Pine.LNX.4.30.0106261727550.23283-100000@tirin.openworld.co.uk
обсуждение исходный текст
Ответ на Re: Re: RE: [ADMIN] High memory usage [PATCH]  (Gunnar Rønning <gunnar@polygnosis.com>)
Список pgsql-jdbc
> I agree that the tests are pretty inconclusive. We need something that
> simulates real usage better. What platform are you testing on Linux ?
> If so with native threads or green threads ?

Linux, I'm using native threads with the hot spot I'm using native
threads, which as I said was performing pretty much identically in both
cases. The non hot spot machine was using green threads which is where the
difference in performance was measurable.

> | I personally would advocate applying a patch similar to below to the
> | current cvs source.
>
> This I don't understand, was your intention to remove thread safety with this
> patch ? Looking at the way you introduce SimpleDateFormat as an instance
> variable it seems so.

Yeah, the patch is rubbish, I did it that way to remove the
(comparitively expensive) ThreadLocal.get inside the setDate and
SetTimeStamp, which is clearly stupid.

Michael xxx


В списке pgsql-jdbc по дате отправления:

Предыдущее
От: "Dave Cramer"
Дата:
Сообщение: RE: RE: [ADMIN] High memory usage [PATCH]
Следующее
От: Barry Lind
Дата:
Сообщение: Re: [ADMIN] High memory usage [PATCH]