Commit fc6a854
authored
SQL Server Linux: JavaExtension -> Reduce minimum SPEES execution time down from 5 seconds. (#50)
* updated JavaExtensionUtils::CleanupJvm() to be platform specific. Where Linux code nulls g_jvm instead of calling destroyJVM() which causes execution delay on SPEES for sql server linux
* Update build scripts for proper tarball creation and update cleanupjvm method to be split per platform
* remove jvmdestroy for quicker spees execution since process exit will shutdown jvm.
* update javaextensionutils to have platform specific shutdownvm() func which doesn't call destroy jvm on linux to improve spees execution.
* updated code comments and removed extra new lines.
* add newline to prevent change marker.
* updated comments to reflect new methods.
* revert shell script changes so that we don't need to change pipelines
* revert changes
* work item number tracking.
* updated condition to just set g_jvm to null for linux . Updated comment to clarify this scenario is linux only.1 parent e51909e commit fc6a854
File tree
4 files changed
+48
-15
lines changed- language-extensions/java
- include
- src
- linux
- windows
4 files changed
+48
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
81 | 85 | | |
82 | 86 | | |
83 | 87 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
299 | | - | |
| 299 | + | |
300 | 300 | | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | | - | |
306 | | - | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | | - | |
| 301 | + | |
315 | 302 | | |
316 | 303 | | |
317 | 304 | | |
| |||
Lines changed: 16 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
166 | 182 | | |
167 | 183 | | |
168 | 184 | | |
| |||
Lines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
150 | 176 | | |
151 | 177 | | |
152 | 178 | | |
| |||
0 commit comments