Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run ydoc-server with GraalVM #9528

Merged
merged 61 commits into from
May 2, 2024
Merged
Changes from 1 commit
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
456c59e
DRAFT: js-websocket
4e6 Mar 21, 2024
675bf37
DRAFT: webpack
4e6 Mar 21, 2024
dcdc4f1
update: configure webpack
4e6 Mar 25, 2024
7635e02
DRAFT: ffiJvm
4e6 Mar 27, 2024
fffa04d
DRAFT: vite bundle
4e6 Mar 28, 2024
2d645b1
feat: remove webpack bundle
4e6 Apr 2, 2024
920d39d
refactor: polyglot-ydoc-server
4e6 Apr 2, 2024
34e90ec
feat: encoding polyfill
4e6 Apr 2, 2024
30abe2d
feat: abort controller
4e6 Apr 9, 2024
788a9df
DRAFT: working language server connection
4e6 Apr 11, 2024
6d13cb9
fix: workaround ws dependency
4e6 Apr 11, 2024
cbf9ff1
update: simplify Main
4e6 Apr 11, 2024
64a4aef
update: crypto
4e6 Apr 11, 2024
b86f2eb
refactor: polyfill components
4e6 Apr 11, 2024
3f8b094
refactor: ydoc-server
4e6 Apr 11, 2024
b486e86
misc: cleanup websocket
4e6 Apr 11, 2024
de4ab9f
test: platform
4e6 Apr 12, 2024
0aa4287
refactor: web socket class
4e6 Apr 15, 2024
a276155
update: ffi interface
4e6 Apr 15, 2024
14b8470
feat: byte buffer interop
4e6 Apr 15, 2024
6936b97
feat: WebSocket.ping
4e6 Apr 15, 2024
89b7082
feat: url path
4e6 Apr 15, 2024
d309f9d
feat: connect to dashboard
4e6 Apr 16, 2024
ef185c5
feat: build uses java ffi
4e6 Apr 16, 2024
6aa97df
feat: vite build before run
4e6 Apr 16, 2024
c8d3b5f
feat: run ydoc dev server
4e6 Apr 16, 2024
c133dd3
revert: ffi interface
4e6 Apr 16, 2024
2affe8f
feat: java parser ffi
4e6 Apr 17, 2024
9e19852
fix: ffi parse_code
4e6 Apr 18, 2024
d5e50cc
misc: fmt
4e6 Apr 18, 2024
4858351
fix: typedarray interop
4e6 Apr 19, 2024
2a0b0ef
doc: ffi
4e6 Apr 19, 2024
6658eb5
DEBUG: vite dev
4e6 Apr 22, 2024
6ce1ddb
misc: nodejs environment
4e6 Apr 22, 2024
a73c4a5
misc: doc web polyfill
4e6 Apr 22, 2024
6f689f0
misc: typo
4e6 Apr 22, 2024
9c05dbc
feat: util api
4e6 Apr 22, 2024
5a11c21
feat: logging
4e6 Apr 22, 2024
c6c67dc
fix: event target events
4e6 Apr 23, 2024
a3e195f
feat: context builder
4e6 Apr 23, 2024
f22db61
feat: configure debug logging
4e6 Apr 23, 2024
ab24af3
misc: fmt
4e6 Apr 23, 2024
1884a9e
feat: workaround ws dependency
4e6 Apr 23, 2024
9d54d78
misc: cleanup vite build
4e6 Apr 23, 2024
7548ef0
misc: ffiPolyglot
4e6 Apr 23, 2024
7c8fec7
misc: typescript fmt
4e6 Apr 23, 2024
fbbb6e0
misc: helidon issue fixed in 4.0.8
4e6 Apr 23, 2024
6345a3e
feat: cloneEvent test
4e6 Apr 23, 2024
997ea10
DRAFT: profiling
4e6 Apr 24, 2024
8320ecc
sampler can be null when debugging
JaroslavTulach Apr 29, 2024
e208a5e
Fix profiling-utils/compile
Akirathan Apr 30, 2024
4617cd8
feat: ydocUrl
4e6 Apr 30, 2024
edf79dc
refactor: resolveLsUrl
4e6 Apr 30, 2024
7d6d6a7
feat: sampling
4e6 May 1, 2024
2bc1983
misc: cleanup
4e6 May 1, 2024
a316b88
misc: lint
4e6 May 1, 2024
8400376
misc: npm typecheck
4e6 May 1, 2024
a662c60
fix: npm run lint
4e6 May 1, 2024
4f17e3b
fix: lint strict-boolean-expressions
4e6 May 1, 2024
629d6b9
fix: prettier
4e6 May 1, 2024
f508ffa
Enable serialization of JMX beans
JaroslavTulach May 2, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions lib/java/ydoc-server/src/main/java/org/enso/ydoc/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ public class Main {
private Main() {}

public static void main(String[] args) throws Exception {
System.setProperty("helidon.serialFilter.pattern", "javax.management.**;java.lang.**;java.rmi.**;javax.security.auth.Subject;!*");
Copy link
Member

@JaroslavTulach JaroslavTulach May 2, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found this advice on stackoverflow and it does seem to help and configure the JEP-290 filter, so it allows JMX. I can connect to the process with JVisualVM polyglot sampler now.

polyglot sampler

I'd say the first edit is fine on my computer.


var ydoc = Main.class.getResource(YDOC_SERVER_PATH);
var contextBuilder = WebEnvironment.createContext().allowIO(IOAccess.ALL);

Expand Down
Loading