forked from pettermahlen/voltdb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENG-18112: backport java 11 support to v8.4 (#7181)
* ENG-15241: compile voltdb in java 8 and make it runnable in java 11 * pass fileDescriptor object to native * remove unsupport jvm option * fix appClassLoader change caused test failure * fix NumberFormatException change caused test failure * fix jni GetIntField passing wrong object * upgrade mockito and powerMock uptodate for java9+ * stricter match for mockito2 * classLoader path for new test * cleanup some obsolete code * replace javaClass-1.7 with JAXB package and dependencies * update felix version for support java 9+ * address the reviews * update jetty for java11 support * update Session Management for jetty 9.4 * ENG-18284: add cddl license in thirdyParty for jaxb (#6658) * ENG-18284: add cddl license in thirdyParty for jaxb * update more pacakges; also add edl license * ENG-15874: remove unnessary lookup for cleaner() in Java 11 UnsafeDirectBufferCleaner (#6157) * ENG-17757: explicitily check cleaner() field for distiguish managed buffers vs unmanged buffers (#6636) * ENG-15690: fix jetty session invalidation npe (#6047) * ENG-15690: fix jetty session invalidation npe * correctly ignore the dynamically encrypted field * ENG-17757 use designated container for native direct allocated memory (#6639) * ENG-15830: Suppress Illegal reflective access warning in JAVA 11 (#6133) * ENG-15863: Suppress Illegal reflective access warning for sqlcmd in JAVA 11 (#6300) * ENG-15863: Suppress Illegal reflective access warning for sqlcmd * simplify the regex for match java version * fix cherry-pick mistakes * remove obslate jars Co-authored-by: Zeeman He <[email protected]>
- Loading branch information
Showing
74 changed files
with
782 additions
and
188 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/* This file is part of VoltDB. | ||
* Copyright (C) 2008-2019 VoltDB Inc. | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
* it under the terms of the GNU Affero General Public License as | ||
* published by the Free Software Foundation, either version 3 of the | ||
* License, or (at your option) any later version. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU Affero General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU Affero General Public License | ||
* along with VoltDB. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
package org.voltcore.utils; | ||
import java.nio.ByteBuffer; | ||
|
||
/** | ||
* Cleaner interface for {@code java.nio.ByteBuffer}. | ||
*/ | ||
public interface DirectBufferCleaner { | ||
/** | ||
* frees the memory backing the ByteBuffer if possible | ||
* | ||
* @param buf direct buffer. | ||
*/ | ||
public boolean clean(ByteBuffer buf); | ||
} |
Oops, something went wrong.