Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fZIdn-00046w-Fi for pgsql-jdbc@arkaria.postgresql.org; Sat, 30 Jun 2018 16:22:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fZIdl-000260-3u for pgsql-jdbc@arkaria.postgresql.org; Sat, 30 Jun 2018 16:22:25 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fZIdk-00025t-TY for pgsql-jdbc@lists.postgresql.org; Sat, 30 Jun 2018 16:22:24 +0000 Received: from m69-169.mailgun.net ([166.78.69.169]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fZIdg-0007UH-Kd for pgsql-jdbc@postgresql.org; Sat, 30 Jun 2018 16:22:23 +0000 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=github.com; q=dns/txt; s=mailo; t=1530375737; h=Content-Transfer-Encoding: Content-Type: Mime-Version: Subject: Message-ID: To: Reply-To: From: Date: Sender; bh=QObQmttkSRTuoo3FhjU8K80dJxfxze1P2PbE7U1e+YE=; b=JQBD0JZUkfGmNIqEj1c8xA6Ms7wmXVj6cMCjDt/DvsBR0UX5SNyxOLWOHBhAOITaQkfR0d+N EDQrgVGlVpjuUC0tjQUNFd/kAt1at9nmXNlCKc1dGuzU+Awp39wF2U4Sy4+0e3s5U0vpbJJp F3BU8NzrMAdXFYqZ3M9VgXaisZo= X-Mailgun-Sending-Ip: 166.78.69.169 X-Mailgun-Sid: WyI3ZTA2ZSIsICJwZ3NxbC1qZGJjQHBvc3RncmVzcWwub3JnIiwgIjQwZiJd Sender: jesper.pedersen=redhat.com@github.com Received: from github.com (Unknown [192.30.252.38]) by mxa.mailgun.org with ESMTP id 5b37ae38.7f84edb508d0-smtp-out-n01; Sat, 30 Jun 2018 16:22:16 -0000 (UTC) Date: Sat, 30 Jun 2018 09:22:16 -0700 From: Jesper Pedersen Reply-To: Jesper Pedersen To: pgsql-jdbc@postgresql.org Message-ID: <5b37ae38bd9f4_189d2af4c418dc1839173@hookshot-fe-265448d.cp1-iad.github.net.mail> Subject: [pgjdbc/pgjdbc] 7a0b7d: perf: guard logging statements (#1112) Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="--==_mimepart_5b37ae38bd1db_189d2af4c418dc18390b5"; charset=UTF-8 Content-Transfer-Encoding: 7bit Approved: 58GruLoMopuc List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ----==_mimepart_5b37ae38bd1db_189d2af4c418dc18390b5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Branch: refs/heads/master Home: https://github.com/pgjdbc/pgjdbc Commit: 7a0b7d65582a21376fc114eb197b5bae1fe1ea00 https://github.com/pgjdbc/pgjdbc/commit/7a0b7d65582a21376fc114eb197b5bae1fe1ea00 Author: Jesper Pedersen 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. ----==_mimepart_5b37ae38bd1db_189d2af4c418dc18390b5--