Обсуждение: [pgjdbc/pgjdbc] 7a0b7d: perf: guard logging statements (#1112)

Поиск
Список
Период
Сортировка

[pgjdbc/pgjdbc] 7a0b7d: perf: guard logging statements (#1112)

От
Jesper Pedersen
Дата:
Branch: refs/heads/master
  Home:   https://github.com/pgjdbc/pgjdbc
  Commit: 7a0b7d65582a21376fc114eb197b5bae1fe1ea00
      https://github.com/pgjdbc/pgjdbc/commit/7a0b7d65582a21376fc114eb197b5bae1fe1ea00
  Author: Jesper Pedersen <jesper.pedersen@redhat.com>
  Date:   2018-06-30 (Sat, 30 Jun 2018)

  Changed paths:
    M pgjdbc/src/main/java/org/postgresql/core/v3/ConnectionFactoryImpl.java
    M pgjdbc/src/main/java/org/postgresql/core/v3/QueryExecutorImpl.java
    M pgjdbc/src/main/java/org/postgresql/jre8/sasl/ScramAuthenticator.java

  Log Message:
  -----------
  perf: guard logging statements (#1112)

Guard certain logging statements with `isLoggable` to prevent `Object[]` allocation for the argument vararg.



      **NOTE:** This service been marked for deprecation:
https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.