Title: hot code replace set to auto causes endless "appyling code changes" notifications · Issue #2350 · redhat-developer/vscode-java · GitHub
Open Graph Title: hot code replace set to auto causes endless "appyling code changes" notifications · Issue #2350 · redhat-developer/vscode-java
X Title: hot code replace set to auto causes endless "appyling code changes" notifications · Issue #2350 · redhat-developer/vscode-java
Description: Usually I use the "hode code replace" feature set to auto, so whenever I save the code is automatically injected into the running process. Since a few days this is not working as expected any more. As soon as I save, the functionality ki...
Open Graph Description: Usually I use the "hode code replace" feature set to auto, so whenever I save the code is automatically injected into the running process. Since a few days this is not working as expected any more....
X Description: Usually I use the "hode code replace" feature set to auto, so whenever I save the code is automatically injected into the running process. Since a few days this is not working as expected...
Opengraph URL: https://github.com/redhat-developer/vscode-java/issues/2350
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"hot code replace set to auto causes endless \"appyling code changes\" notifications","articleBody":"Usually I use the \"hode code replace\" feature set to auto, so whenever I save the code is automatically injected into the running process. Since a few days this is not working as expected any more.\r\nAs soon as I save, the functionality kicks in and the java LSP process goes crazy. It goes up to 200-300% CPU and never comes back.\r\nThe problem seems to be that the \"Applying code changes ...\" functionality is repeatedly started over and over again, but seems to never stop.\r\nIt does not recover on its own, I have to restart vscode.\r\n\r\n##### Environment\r\n- Operating System: macOS 11.6.2 (20G314)\r\n- JDK version:openjdk 17.0.1 2021-10-19\r\n- Visual Studio Code version: 1.65.1\r\n- Java extension version: v0.22.0\r\n\r\n##### Steps To Reproduce\r\n1. Set \"Hot code replace\" to `auto`\r\n2. Halt on breakpoint\r\n3. Change code and save a few times in a row\r\n\r\nAfter a few times it looks like this:\r\nThe log contains proprietary code, so I cannot easily share it here. But it seems fine, no repeating (error) messages of any kind. Just the change detection seems to kick in repeatedly and invoke the \"hot code replace\" every time (which never returns).\r\n\r\n##### Current Result\r\n\"Applying code changes\" goes crazy.\r\n\r\n\r\n##### Expected Result\r\nApply codes changes. Java LSP process should permanently consume 200-300% CPU after it.\r\n\r\n\r\n##### Additional Informations\r\nIf I use the manual \"hot code replace\" (the lightning symbol), I can't reproduce the issue.","author":{"url":"https://github.com/mojo2012","@type":"Person","name":"mojo2012"},"datePublished":"2022-03-09T09:06:32Z","url":"https://github.com/redhat-developer/vscode-java/issues/2350"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4076fce0-3b9b-dae0-ad04-1319eb9b9275 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8BB8:C39E7:1D34C:26369:6B073521 |
| html-safe-nonce | b843d6c02ad29bd386a4a911a668549d2edebd78d24f9814c999f9c7af0c289b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QkI4OkMzOUU3OjFEMzRDOjI2MzY5OjZCMDczNTIxIiwidmlzaXRvcl9pZCI6IjQzODkyMzQzNzM4Nzk2MDg2MDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 71bd2344dc5ec621c8402eb6aedf6f9682075f485dab20b2ba4f721a9b01d9c1 |
| hovercard-subject-tag | issue:1163670115 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/redhat-developer/vscode-java/2350/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d6aec9582aceab384fc177fa97729e8d910af68da33b3331767d22afa78d4de2/redhat-developer/vscode-java/issues/2350 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d6aec9582aceab384fc177fa97729e8d910af68da33b3331767d22afa78d4de2/redhat-developer/vscode-java/issues/2350 |
| og:image:alt | Usually I use the "hode code replace" feature set to auto, so whenever I save the code is automatically injected into the running process. Since a few days this is not working as expected any more.... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mojo2012 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2a60952cad7efb2604ea85e500208f51c1ec1943aa260ac605c13eb46a1ed83b |
| turbo-cache-control | no-preview |
| go-import | github.com/redhat-developer/vscode-java git https://github.com/redhat-developer/vscode-java.git |
| octolytics-dimension-user_id | 11033755 |
| octolytics-dimension-user_login | redhat-developer |
| octolytics-dimension-repository_id | 65561709 |
| octolytics-dimension-repository_nwo | redhat-developer/vscode-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 65561709 |
| octolytics-dimension-repository_network_root_nwo | redhat-developer/vscode-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 345c27626db08417fdfc84278a4415ae9a48d8f3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width